rust/compiler/rustc_middle/src
bors d117135f5a Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors
Skip possible where_clause_object_safety lints when checking `multiple_supertrait_upcastable`

Fix #106247

To achieve this, I lifted the `WhereClauseReferencesSelf` out from `object_safety_violations` and move it into `is_object_safe` (which is changed to a new query).

cc `@dtolnay`
r? `@compiler-errors`
2023-01-29 10:20:25 +00:00
..
dep_graph rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
hir Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
infer Make make_identity take CanonicalVarInfos 2023-01-26 20:33:40 +00:00
middle rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
mir Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
query Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
thir Use boxed slices in PatKind. 2022-09-02 07:26:22 +10:00
traits Impl HashStable/Encodable/Decodable for ObligationCause. 2023-01-27 18:56:32 +00:00
ty Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
util Add some docs to bug, span_bug and delay_span_bug 2022-12-30 16:47:56 +01:00
arena.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
error.rs Match crate and slug names 2022-11-21 15:24:50 +01:00
lib.rs Use strict provenance APIs in ty::tls 2023-01-21 11:25:21 +01:00
lint.rs create helper function for rustc_lint_defs::Level and remove it's duplicated code r=ozkanonur 2023-01-10 10:56:17 +03:00
macros.rs Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
metadata.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Migrate deconstruct_pat.rs 2023-01-11 14:39:49 -08:00
values.rs add EarlyBinder::subst_identity; impl ParameterizedOverTcx (needed for rustc_metadata) and Value for EarlyBinder 2023-01-14 00:13:06 -07:00