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