blob: 4bcf90552f9067ac3f87fc48a950b67231587037 (
plain)
1
2
3
4
5
6
7
8
9
|
#![feature(unboxed_closures)]
trait Trait {}
fn f<F:Trait(isize) -> isize>(x: F) {}
//~^ ERROR this trait takes 0 generic arguments but 1 generic argument
//~| ERROR associated type `Output` not found for `Trait`
fn main() {}
|