]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-16058.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / resolve / issue-16058.stderr
1 error[E0574]: expected struct, variant or union type, found enum `Result`
2   --> $DIR/issue-16058.rs:10:9
3    |
4 LL |         Result {
5    |         ^^^^^^ not a struct, variant or union type
6    |
7 help: consider importing one of these items instead
8    |
9 LL | use std::fmt::Result;
10    |
11 LL | use std::io::Result;
12    |
13 LL | use std::thread::Result;
14    |
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0574`.