]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/unboxed-closures/unboxed-closure-sugar-wrong-trait.rs
1 #![feature(unboxed_closures)]
5 fn f
<F
:Trait(isize) -> isize>(x
: F
) {}
6 //~^ ERROR this trait takes 0 type arguments but 1 type argument was supplied
7 //~| ERROR associated type `Output` not found for `Trait`