]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closure-sugar-wrong-number-number-type-parameters-3.rs
Rollup merge of #86828 - lambinoo:67441-const-fn-copied-take-replace, r=joshtriplett
[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() { }