7 fn baz(a: Self::A) -> Self::A;
12 impl<T> Foo for Bar<T> {
15 fn baz(a: f32) -> f32 {
16 // { dg-error "expected" "" { target *-*-* } .-1 }
17 // { dg-error "method .baz. has an incompatible type for trait .Foo." "" { target *-*-* } .-2 }
24 a = Bar::<i32>::baz(123f32);