rust/compiler/rustc_lint/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
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
builtin.rs Auto merge of #107206 - cjgillot:no-h2l-map, r=WaffleLapkin 2023-01-28 16:11:33 +00:00
context.rs fix #104440 2023-01-16 21:06:34 +09:00
deref_into_dyn_supertrait.rs migrate: deref_into_dyn_supertrait.rs 2023-01-09 18:57:02 -05:00
early.rs fix issues in unused lint 2023-01-14 17:11:04 +08:00
enum_intrinsics_non_enums.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
errors.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
expect.rs Auto merge of #106776 - oli-obk:om_nom_nom_nom_nom, r=cjgillot 2023-01-13 13:57:21 +00:00
for_loops_over_fallibles.rs fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
hidden_unicode_codepoints.rs migrate: hidden_unicode_codepoints.rs 2023-01-09 17:07:25 -05:00
internal.rs remove redundant clones 2023-01-15 15:02:02 +01:00
late.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
let_underscore.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
levels.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
lib.rs Reintroduce multiple_supertrait_upcastable lint 2023-01-28 15:08:07 +00:00
lints.rs Reintroduce multiple_supertrait_upcastable lint 2023-01-28 15:08:07 +00:00
methods.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
multiple_supertrait_upcastable.rs Reintroduce multiple_supertrait_upcastable lint 2023-01-28 15:08:07 +00:00
non_ascii_idents.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
non_fmt_panic.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
nonstandard_style.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
noop_method_call.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
opaque_hidden_inferred_bound.rs Ensure no one constructs AliasTys themselves 2022-12-14 15:36:39 +00:00
pass_by_value.rs remove redundant clones 2023-01-15 15:02:02 +01:00
passes.rs Take a LocalDefId in hir::Visitor::visit_fn. 2023-01-28 09:51:50 +00:00
redundant_semicolon.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
tests.rs Update to last upstream version 2021-07-08 17:14:28 +02:00
traits.rs refactor: cleanup 2023-01-09 18:57:02 -05:00
types.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
unused.rs Rollup merge of #106148 - chenyukang:yukang/fix-105061-unused, r=lcnr 2023-01-17 20:33:03 +05:30