blob: fbaf41245e9b602d4becfaa49fbaba85458f3d63 [file] [log] [blame]
pub struct Bar<S>(S);
pub trait Foo {}
impl<S> Foo for Bar<S> where for<'a> <&'a S>::Item: Foo {}
//~^ ERROR ambiguous associated type
fn main() {}