rust/compiler/rustc_error_messages/locales/en-US
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
..
parser.ftl separate messages by a newline 2022-04-26 11:13:23 +02:00
typeck.ftl Auto merge of #96715 - cjgillot:trait-alias-loop, r=compiler-errors 2022-05-10 00:40:57 +00:00