2016-11-30 16:35:25 -06:00
|
|
|
error[E0574]: expected struct, variant or union type, found enum `Result`
|
2020-05-05 20:12:50 -05:00
|
|
|
--> $DIR/issue-16058.rs:10:9
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | Result {
|
2016-11-30 16:35:25 -06:00
|
|
|
| ^^^^^^ not a struct, variant or union type
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2024-06-12 18:51:31 -05:00
|
|
|
help: consider importing one of these type aliases instead
|
2017-06-28 01:16:04 -05:00
|
|
|
|
|
2023-03-17 21:18:39 -05:00
|
|
|
LL + use std::fmt::Result;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2023-03-17 21:18:39 -05:00
|
|
|
LL + use std::io::Result;
|
2017-07-05 18:39:06 -05:00
|
|
|
|
|
2023-03-17 21:18:39 -05:00
|
|
|
LL + use std::thread::Result;
|
2017-06-28 01:16:04 -05:00
|
|
|
|
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2019-10-11 08:23:18 -05:00
|
|
|
For more information about this error, try `rustc --explain E0574`.
|