]>
Commit | Line | Data |
---|---|---|
60c5eb7d XL |
1 | error[E0282]: type annotations needed |
2 | --> $DIR/or_else-multiple-type-params.rs:7:10 | |
3 | | | |
4 | LL | .or_else(|err| { | |
ba9703b0 XL |
5 | | ^^^^^^^ cannot infer type for type parameter `F` declared on the associated function `or_else` |
6 | | | |
7 | help: consider specifying the type arguments in the method call | |
8 | | | |
9 | LL | .or_else::<F, O>(|err| { | |
10 | | ^^^^^^^^ | |
60c5eb7d XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0282`. |