error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters --> $DIR/shadowed.rs:4:28 | LL | fn function() where for (): Sized {} | - ^ already used | | | first use of `T` error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters --> $DIR/shadowed.rs:7:31 | LL | struct Struct(T) where for (): Sized; | - ^ already used | | | first use of `T` error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters --> $DIR/shadowed.rs:11:27 | LL | impl Struct { | - first use of `T` LL | fn method() where for (): Sized {} | ^ already used error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters --> $DIR/shadowed.rs:15:28 | LL | fn repeated() where for (): Sized {} | - ^ already used | | | first use of `T` warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes --> $DIR/shadowed.rs:1:12 | LL | #![feature(non_lifetime_binders)] | ^^^^^^^^^^^^^^^^^^^^ | = note: see issue #108185 for more information = note: `#[warn(incomplete_features)]` on by default error: aborting due to 4 previous errors; 1 warning emitted For more information about this error, try `rustc --explain E0403`.