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