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> = P; | |
| -- | |