warning: bounds on generic parameters are not enforced in type aliases --> $DIR/type-alias-bounds.rs:8:14 | LL | type SVec = Vec; | ^^^^ ^^^^ | = 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 - type SVec = Vec; LL + type SVec = Vec; | warning: where clauses are not enforced in type aliases --> $DIR/type-alias-bounds.rs:10:21 | LL | type S2Vec where T: Send = Vec; | ^^^^^^^ | help: the clause will not be checked when the type alias is used, and should be removed | LL - type S2Vec where T: Send = Vec; LL + type S2Vec = Vec; | warning: bounds on generic parameters are not enforced in type aliases --> $DIR/type-alias-bounds.rs:12:19 | LL | type VVec<'b, 'a: 'b + 'b> = (&'b u32, Vec<&'a i32>); | ^^ ^^ | help: the bound will not be checked when the type alias is used, and should be removed | LL - type VVec<'b, 'a: 'b + 'b> = (&'b u32, Vec<&'a i32>); LL + type VVec<'b, 'a> = (&'b u32, Vec<&'a i32>); | warning: bounds on generic parameters are not enforced in type aliases --> $DIR/type-alias-bounds.rs:14:18 | LL | type WVec<'b, T: 'b + 'b> = (&'b u32, Vec); | ^^ ^^ | help: the bound will not be checked when the type alias is used, and should be removed | LL - type WVec<'b, T: 'b + 'b> = (&'b u32, Vec); LL + type WVec<'b, T> = (&'b u32, Vec); | warning: where clauses are not enforced in type aliases --> $DIR/type-alias-bounds.rs:16:25 | LL | type W2Vec<'b, T> where T: 'b, T: 'b = (&'b u32, Vec); | ^^^^^ ^^^^^ | help: the clause will not be checked when the type alias is used, and should be removed | LL - type W2Vec<'b, T> where T: 'b, T: 'b = (&'b u32, Vec); LL + type W2Vec<'b, T> = (&'b u32, Vec); | warning: bounds on generic parameters are not enforced in type aliases --> $DIR/type-alias-bounds.rs:47:12 | LL | type T1 = U::Assoc; | ^^^^^ | help: use fully disambiguated paths (i.e., `::Assoc`) to refer to associated types in type aliases --> $DIR/type-alias-bounds.rs:47:21 | LL | type T1 = U::Assoc; | ^^^^^^^^ help: the bound will not be checked when the type alias is used, and should be removed | LL - type T1 = U::Assoc; LL + type T1 = U::Assoc; | warning: where clauses are not enforced in type aliases --> $DIR/type-alias-bounds.rs:48:18 | LL | type T2 where U: Bound = U::Assoc; | ^^^^^^^^ | help: use fully disambiguated paths (i.e., `::Assoc`) to refer to associated types in type aliases --> $DIR/type-alias-bounds.rs:48:29 | LL | type T2 where U: Bound = U::Assoc; | ^^^^^^^^ help: the clause will not be checked when the type alias is used, and should be removed | LL - type T2 where U: Bound = U::Assoc; LL + type T2 = U::Assoc; | warning: bounds on generic parameters are not enforced in type aliases --> $DIR/type-alias-bounds.rs:56:12 | LL | type T5 = ::Assoc; | ^^^^^ | help: the bound will not be checked when the type alias is used, and should be removed | LL - type T5 = ::Assoc; LL + type T5 = ::Assoc; | warning: bounds on generic parameters are not enforced in type aliases --> $DIR/type-alias-bounds.rs:57:12 | LL | type T6 = ::std::vec::Vec; | ^^^^^ | help: the bound will not be checked when the type alias is used, and should be removed | LL - type T6 = ::std::vec::Vec; LL + type T6 = ::std::vec::Vec; | warning: 9 warnings emitted