]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/issue-67690-type-alias-bound-diagnostic-crash.stderr
Auto merge of #99443 - jam1garner:mips-virt-feature, r=nagisa
[rust.git] / src / test / ui / type / issue-67690-type-alias-bound-diagnostic-crash.stderr
1 warning: bounds on generic parameters are not enforced in type aliases
2   --> $DIR/issue-67690-type-alias-bound-diagnostic-crash.rs:5:15
3    |
4 LL | pub type T<P: Send + Send + Send> = P;
5    |               ^^^^   ^^^^   ^^^^
6    |
7    = note: `#[warn(type_alias_bounds)]` on by default
8 help: the bound will not be checked when the type alias is used, and should be removed
9    |
10 LL - pub type T<P: Send + Send + Send> = P;
11 LL + pub type T<P> = P;
12    |
13
14 warning: 1 warning emitted
15