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
465 B
Plaintext
Raw Normal View History

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