1
Fork 0
rust/compiler/rustc_traits/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
..
chalk Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
codegen.rs Separate trait selection from ambiguity reporting. 2023-01-27 18:57:10 +00:00
dropck_outlives.rs Introduce GeneratorWitnessMIR. 2023-01-27 18:58:44 +00:00
evaluate_obligation.rs Convert predicates into Predicate in the Obligation constructor 2022-11-16 09:25:19 +00:00
implied_outlives_bounds.rs fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
lib.rs Move some suggestions from error_reporting to error_reporting::suggest 2022-12-08 05:58:30 +00:00
normalize_erasing_regions.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
normalize_projection_ty.rs (almost) Always use ObligationCtxt when dealing with canonical queries 2022-10-27 15:43:33 +00:00
type_op.rs fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00