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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
456 B
Plaintext
Raw Normal View History

error[E0574]: expected struct, variant or union type, found enum `Result`
2020-05-05 18:12:50 -07:00
--> $DIR/issue-16058.rs:10:9
|
2018-02-23 03:42:32 +03:00
LL | Result {
| ^^^^^^ not a struct, variant or union type
|
help: consider importing one of these items instead
2017-06-27 23:16:04 -07: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-27 23:16:04 -07:00
|
error: aborting due to previous error
2019-10-11 15:23:18 +02:00
For more information about this error, try `rustc --explain E0574`.