E0122: clarify wording

This commit is contained in:
Ralf Jung 2017-07-11 17:44:48 -07:00
parent 9475ae477a
commit ba53f95676

View file

@ -1611,8 +1611,8 @@ static BAR: _ = "test"; // error, explicitly write out the type instead
"##,
E0122: r##"
An attempt was made to add a generic constraint to a type alias. While Rust will
allow this with a warning, it will not currently enforce the constraint.
An attempt was made to add a generic constraint to a type alias. This constraint is
entirely ignored. For backwards compatibility, Rust still allows this with a warning.
Consider the example below:
```