fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
495 B18 linesraw
1error[E0574]: expected struct, variant or union type, found enum `Result`
2  --> $DIR/issue-16058.rs:8:9
3   |
4LL |         Result {
5   |         ^^^^^^ not a struct, variant or union type
6   |
7help: possible better candidates are found in other modules, you can import them into scope
8   |
9LL | use std::fmt::Result;
10   |
11LL | use std::io::Result;
12   |
13LL | use std::thread::Result;
14   |
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0574`.