1 error[E0277]: the trait bound `B: Bar` is not satisfied
2 --> $DIR/issue-90400-2.rs:25:9
5 | ^^^^^^^^^^ the trait `Bar` is not implemented for `B`
7 note: required for `MyBaz<B>` to implement `Baz`
8 --> $DIR/issue-90400-2.rs:30:14
10 LL | impl<B: Bar> Baz for MyBaz<B> {
13 | unsatisfied trait bound introduced here
14 help: consider restricting type parameter `B`
16 LL | type FooFn<B: Bar> = impl Baz;
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0277`.