]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-16058.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / resolve / issue-16058.stderr
1 error[E0574]: expected struct, variant or union type, found enum `Result`
2   --> $DIR/issue-16058.rs:8:9
3    |
4 LL |         Result {
5    |         ^^^^^^ not a struct, variant or union type
6 help: possible better candidates are found in other modules, you can import them into scope
7    |
8 LL | use std::fmt::Result;
9    |
10 LL | use std::io::Result;
11    |
12 LL | use std::thread::Result;
13    |
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0574`.