summary refs log tree commit diff
path: root/tests/ui/resolve/issue-16058.stderr
blob: 12b1ac8a5fb4413fbf6fd6b7a21047549f37687e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0574]: expected struct, variant or union type, found enum `Result`
  --> $DIR/issue-16058.rs:10:9
   |
LL |         Result {
   |         ^^^^^^ not a struct, variant or union type
   |
help: consider importing one of these type aliases instead
   |
LL + use std::fmt::Result;
   |
LL + use std::io::Result;
   |
LL + use std::thread::Result;
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0574`.