1 error[E0277]: the trait bound `Sendable: Duh` is not satisfied
2 --> $DIR/nested-return-type2-tait.rs:25:13
4 LL | fn foo() -> impl Trait<Assoc = Sendable> {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Duh` is not implemented for `Sendable`
7 = help: the trait `Duh` is implemented for `i32`
8 note: required because of the requirements on the impl of `Trait` for `[closure@$DIR/nested-return-type2-tait.rs:28:5: 28:10]`
9 --> $DIR/nested-return-type2-tait.rs:14:31
11 LL | impl<R: Duh, F: FnMut() -> R> Trait for F {
14 error[E0277]: the trait bound `Sendable: Duh` is not satisfied
15 --> $DIR/nested-return-type2-tait.rs:25:42
17 LL | fn foo() -> impl Trait<Assoc = Sendable> {
18 | __________________________________________^
23 | |_^ the trait `Duh` is not implemented for `Sendable`
25 = help: the trait `Duh` is implemented for `i32`
26 note: required because of the requirements on the impl of `Trait` for `[closure@$DIR/nested-return-type2-tait.rs:28:5: 28:10]`
27 --> $DIR/nested-return-type2-tait.rs:14:31
29 LL | impl<R: Duh, F: FnMut() -> R> Trait for F {
32 error: aborting due to 2 previous errors
34 For more information about this error, try `rustc --explain E0277`.