rust/compiler
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
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Auto merge of #107435 - matthiaskrgr:rollup-if5h6yu, r=matthiaskrgr 2023-01-29 07:01:58 +00:00
rustc_builtin_macros Auto merge of #103659 - clubby789:improve-partialord-derive, r=nagisa 2023-01-28 22:11:11 +00:00
rustc_codegen_cranelift Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
rustc_codegen_gcc
rustc_codegen_llvm make more pleasant to read 2023-01-28 16:35:07 +02:00
rustc_codegen_ssa Auto merge of #107435 - matthiaskrgr:rollup-if5h6yu, r=matthiaskrgr 2023-01-29 07:01:58 +00:00
rustc_const_eval Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
rustc_data_structures Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
rustc_driver
rustc_error_codes
rustc_error_messages Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
rustc_errors
rustc_expand
rustc_feature Reintroduce multiple_supertrait_upcastable lint 2023-01-28 15:08:07 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_hir_analysis Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
rustc_incremental Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_index
rustc_infer Auto merge of #107303 - compiler-errors:intern-canonical-var-values, r=lcnr 2023-01-28 19:41:21 +00:00
rustc_interface Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
rustc_lexer
rustc_lint Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Auto merge of #107406 - cjgillot:eliminate-witnesses, r=compiler-errors 2023-01-29 01:27:11 +00:00
rustc_middle Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
rustc_mir_build Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_mir_dataflow
rustc_mir_transform Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
rustc_monomorphize
rustc_parse Migrate some range parsing diagnostics 2023-01-28 21:57:35 +00:00
rustc_parse_format
rustc_passes Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_plugin_impl
rustc_privacy Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_query_impl
rustc_query_system
rustc_resolve
rustc_save_analysis Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_serialize
rustc_session Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
rustc_smir
rustc_span Reintroduce multiple_supertrait_upcastable lint 2023-01-28 15:08:07 +00:00
rustc_symbol_mangling
rustc_target
rustc_trait_selection Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
rustc_traits Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors 2023-01-29 10:20:25 +00:00
rustc_transmute
rustc_ty_utils
rustc_type_ir