1 error[E0277]: the trait bound `(): Foo<FooX>` is not satisfied
2 --> $DIR/nested-tait-inference.rs:12:13
4 LL | fn foo() -> impl Foo<FooX> {
5 | ^^^^^^^^^^^^^^ the trait `Foo<FooX>` is not implemented for `()`
7 = help: the trait `Foo<()>` is implemented for `()`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0277`.