blob: 4bfc676d6f620c3878eb347134779841e8511116 [file] [log] [blame] [edit]
fn foo<T: impl Trait>() {}
//~^ ERROR expected trait bound, found `impl Trait` type
fn main() {}