blob: f70e4d4cae29e700c0bf1e2b3ae19f4805a438da [file]
error[E0282]: type annotations needed
--> $DIR/nested-tait-inference2.rs:18:13
|
LL | fn foo() -> impl Foo<FooX> {
| ^^^^^^^^^^^^^^ cannot infer type
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0282`.