]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closure-sugar-wrong-number-number-type-parameters-3.rs
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20
[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 generic arguments but 1 generic argument
7 //~| ERROR associated type `Output` not found
8 {}
9
10 fn main() { }