rust/compiler
bors 362010d6be Auto merge of #96715 - cjgillot:trait-alias-loop, r=compiler-errors
Fortify handing of where bounds on trait & trait alias definitions

Closes https://github.com/rust-lang/rust/issues/96664
Closes https://github.com/rust-lang/rust/issues/96665

Since https://github.com/rust-lang/rust/pull/93803, when listing all bounds and predicates we now need to account for the possible presence of predicates on any of the generic parameters.  Both bugs were hidden by the special handling of bounds at  the generic parameter declaration position.

Trait alias expansion used to confuse predicates on `Self` and where predicates.
Exiting too late when listing all the bounds caused a cycle error.
2022-05-10 00:40:57 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_ast_lowering Auto merge of #96770 - flip1995:fix-trait-type-in-bounds, r=cjgillot 2022-05-08 14:10:12 +00:00
rustc_ast_passes
rustc_ast_pretty Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_attr
rustc_borrowck Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_builtin_macros Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_codegen_ssa
rustc_const_eval Auto merge of #96815 - SparrowLii:promote_const, r=oli-obk 2022-05-09 11:49:09 +00:00
rustc_data_structures Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_driver
rustc_error_codes Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errors 2022-05-09 04:47:30 +00:00
rustc_error_messages Auto merge of #96715 - cjgillot:trait-alias-loop, r=compiler-errors 2022-05-10 00:40:57 +00:00
rustc_errors Fixed typo in docs and correct doc links 2022-05-08 17:24:15 +02:00
rustc_expand Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_feature Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errors 2022-05-09 04:47:30 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir review 2022-05-09 18:40:18 +02:00
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer Auto merge of #96155 - jackh726:param-heuristics-followup, r=estebank 2022-05-08 04:05:36 +00:00
rustc_interface Move lint expectation checking into a separate query (RFC 2383) 2022-05-08 14:37:14 +02:00
rustc_lexer
rustc_lint Auto merge of #95542 - xFrednet:rfc-2383-expect-query, r=wesleywiser 2022-05-09 00:02:55 +00:00
rustc_lint_defs Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errors 2022-05-09 04:47:30 +00:00
rustc_llvm
rustc_log
rustc_macros
rustc_metadata review 2022-05-09 18:40:18 +02:00
rustc_middle Auto merge of #96838 - tmiasko:lazy-switch-sources, r=oli-obk 2022-05-09 22:15:30 +00:00
rustc_mir_build review 2022-05-09 18:40:18 +02:00
rustc_mir_dataflow Use sparse representation of switch sources 2022-05-08 23:48:23 +02:00
rustc_mir_transform review 2022-05-09 18:40:18 +02:00
rustc_monomorphize Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_parse Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_parse_format
rustc_passes Auto merge of #96473 - lcnr:querify-codegen-fn-attrs, r=cjgillot 2022-05-09 19:52:59 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Move lint expectation checking into a separate query (RFC 2383) 2022-05-08 14:37:14 +02:00
rustc_query_system Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_resolve Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_save_analysis
rustc_serialize
rustc_session
rustc_span Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
rustc_symbol_mangling review 2022-05-09 18:40:18 +02:00
rustc_target
rustc_trait_selection Auto merge of #96715 - cjgillot:trait-alias-loop, r=compiler-errors 2022-05-10 00:40:57 +00:00
rustc_traits
rustc_ty_utils
rustc_type_ir
rustc_typeck Auto merge of #96715 - cjgillot:trait-alias-loop, r=compiler-errors 2022-05-10 00:40:57 +00:00