#![feature(non_lifetime_binders)] //~^ WARN the feature `non_lifetime_binders` is incomplete fn function() where for (): Sized {} //~^ ERROR the name `T` is already used for a generic parameter struct Struct(T) where for (): Sized; //~^ ERROR the name `T` is already used for a generic parameter impl Struct { fn method() where for (): Sized {} //~^ ERROR the name `T` is already used for a generic parameter } fn repeated() where for (): Sized {} //~^ ERROR the name `T` is already used for a generic parameter fn main() {}