1 error[E0221]: ambiguous associated type `A` in bounds of `Self`
2 --> $DIR/E0221.rs:21:16
5 | ----------- ambiguous `A` from `Foo`
8 | ----------- ambiguous `A` from `Bar`
9 20 | fn do_something() {
11 | ^^^^^^^ ambiguous associated type `A`
13 error[E0221]: ambiguous associated type `Err` in bounds of `Self`
14 --> $DIR/E0221.rs:31:16
17 | ------------- ambiguous `Err` from `My`
19 31 | let _: Self::Err;
20 | ^^^^^^^^^ ambiguous associated type `Err`
22 note: associated type `Self` could derive from `std::str::FromStr`
23 --> $DIR/E0221.rs:31:16
25 31 | let _: Self::Err;
28 error: aborting due to 2 previous errors