]>
Commit | Line | Data |
---|---|---|
32a655c1 | 1 | error[E0574]: expected struct, variant or union type, found enum `Result` |
f9f354fc | 2 | --> $DIR/issue-16058.rs:10:9 |
32a655c1 | 3 | | |
0531ce1d | 4 | LL | Result { |
32a655c1 | 5 | | ^^^^^^ not a struct, variant or union type |
e74abb32 | 6 | | |
f9f354fc | 7 | help: consider importing one of these items instead |
041b39d2 | 8 | | |
0531ce1d | 9 | LL | use std::fmt::Result; |
041b39d2 | 10 | | |
0531ce1d | 11 | LL | use std::io::Result; |
041b39d2 | 12 | | |
0531ce1d | 13 | LL | use std::thread::Result; |
041b39d2 | 14 | | |
32a655c1 | 15 | |
041b39d2 | 16 | error: aborting due to previous error |
32a655c1 | 17 | |
e74abb32 | 18 | For more information about this error, try `rustc --explain E0574`. |