]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type-inference/or_else-multiple-type-params.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / type-inference / or_else-multiple-type-params.stderr
1 error[E0282]: type annotations needed
2 --> $DIR/or_else-multiple-type-params.rs:7:10
3 |
4 LL | .or_else(|err| {
5 | ^^^^^^^
6 | |
7 | cannot infer type for type parameter `F`
8 | help: consider specifying the type arguments in the method call: `or_else::<F, O>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0282`.