#![feature(fn_traits)]
trait CallSingle {
fn call(&self, a: A) -> B where Self: Sized, Self: Fn(A) -> B;
}
impl B> CallSingle for F {
fn call(&self, a: A) -> B {
B>::call(self, (a,))
//~^ ERROR associated item constraints are not allowed here
}
}
fn main() {}