blob: 5872f1007b015374cfde0c3ec2cd04060ea1fe91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![feature(fn_traits)]
#![feature(unboxed_closures)]
struct S;
impl Fn(u32) -> u32 for S {
//~^ ERROR associated type bindings are not allowed here [E0229]
fn call(&self) -> u32 {
5
}
}
fn main() {}
|