]> git.lizzy.rs Git - rust.git/blob - src/test/ui/question-mark-type-infer.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / question-mark-type-infer.stderr
1 error[E0284]: type annotations required: cannot resolve `<_ as std::ops::Try>::Ok == _`
2   --> $DIR/question-mark-type-infer.rs:12:5
3    |
4 LL |     l.iter().map(f).collect()? //~ ERROR type annotations required: cannot resolve
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0284`.