rust/tests/ui/resolve/issue-16058.stderr

19 lines
456 B
Plaintext
Raw Normal View History

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
|
2018-02-23 00:42:32 +00:00
LL | Result {
| ^^^^^^ not a struct, variant or union type
|
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;
|
2023-03-18 02:18:39 +00:00
LL + use std::io::Result;
|
2023-03-18 02:18:39 +00:00
LL + use std::thread::Result;
2017-06-28 06:16:04 +00:00
|
error: aborting due to previous error
2019-10-11 13:23:18 +00:00
For more information about this error, try `rustc --explain E0574`.