]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closure-sugar-wrong-number-number-type-parameters-3.rs
Fix border radius for doc code blocks in rustdoc
[rust.git] / src / test / ui / unboxed-closures / unboxed-closure-sugar-wrong-number-number-type-parameters-3.rs
1 #![feature(unboxed_closures)]
2
3 trait Three<A,B,C> { fn dummy(&self) -> (A,B,C); }
4
5 fn foo(_: &dyn Three())
6 //~^ ERROR this trait takes 3 type arguments but only 1 type argument was supplied
7 //~| ERROR associated type `Output` not found
8 {}
9
10 fn main() { }