rust/tests/ui/impl-trait/method-resolution4.next.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
274 B
Plaintext
Raw Normal View History

2024-04-15 11:20:33 +00:00
error[E0282]: type annotations needed
--> $DIR/method-resolution4.rs:13:9
2024-04-15 11:20:33 +00:00
|
LL | foo(false).next().unwrap();
| ^^^^^^^^^^ cannot infer type
error: aborting due to 1 previous error
2024-04-15 11:20:33 +00:00
For more information about this error, try `rustc --explain E0282`.