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