blob: 125ffbbb41757c3f1171c39625356d2d87eb214e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
warning: bounds on generic parameters are not enforced in type aliases
--> $DIR/issue-67690-type-alias-bound-diagnostic-crash.rs:5:15
|
LL | pub type T<P: Send + Send + Send> = P;
| ^^^^ ^^^^ ^^^^
|
= note: `#[warn(type_alias_bounds)]` on by default
help: the bound will not be checked when the type alias is used, and should be removed
|
LL - pub type T<P: Send + Send + Send> = P;
LL + pub type T<P> = P;
|
warning: 1 warning emitted
|