1 error[E0277]: the trait bound `(): Foo` is not satisfied
2 --> $DIR/wf-foreign-fn-decl-ret.rs:11:5
4 LL | pub fn lint_me() -> <() as Foo>::Assoc;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `()`
7 error[E0277]: the trait bound `u32: Unsatisfied` is not satisfied
8 --> $DIR/wf-foreign-fn-decl-ret.rs:14:32
10 LL | pub fn lint_me_aswell() -> Bar<u32>;
11 | ^^^^^^^^ the trait `Unsatisfied` is not implemented for `u32`
13 note: required by a bound in `Bar`
14 --> $DIR/wf-foreign-fn-decl-ret.rs:4:19
16 LL | pub struct Bar<T: Unsatisfied>(T);
17 | ^^^^^^^^^^^ required by this bound in `Bar`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0277`.