2022-07-01 08:49:05 -05:00
|
|
|
error[E0282]: type annotations needed
|
|
|
|
--> $DIR/cannot-infer-partial-try-return.rs:20:9
|
2020-12-28 23:10:13 -06:00
|
|
|
|
|
2022-07-01 08:49:05 -05:00
|
|
|
LL | Ok(())
|
|
|
|
| ^^ cannot infer type of the type parameter `E` declared on the enum `Result`
|
2022-05-24 02:57:14 -05:00
|
|
|
|
|
2022-07-01 08:49:05 -05:00
|
|
|
help: consider specifying the generic arguments
|
2022-05-24 02:57:14 -05:00
|
|
|
|
|
2022-07-01 08:49:05 -05:00
|
|
|
LL | Ok::<(), QualifiedError<_>>(())
|
|
|
|
| +++++++++++++++++++++++++
|
2020-12-28 23:10:13 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2020-12-28 23:10:13 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|