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