blob: ad60b0a0c7753faa2e6e07f718b90c0e47e2d392 [file] [log] [blame] [edit]
#![feature(unboxed_closures)]
trait Trait {}
fn f<F:Trait(isize) -> isize>(x: F) {}
//~^ ERROR trait takes 0 generic arguments but 1 generic argument
//~| ERROR associated type `Output` not found for `Trait`
fn main() {}