blob: dd47ae73a3835ba57af45c3ecd37b0e1b06e9604 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#![feature(unboxed_closures)]
trait Three<A,B,C> { fn dummy(&self) -> (A,B,C); }
fn foo(_: &dyn Three())
//~^ ERROR trait takes 3 generic arguments but 1 generic argument
//~| ERROR associated type `Output` not found
{}
fn main() { }
|