fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
422 B16 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
6help: possible better candidates are found in other modules, you can import them into scope
7   |
8LL | use std::fmt::Result;
9   |
10LL | use std::io::Result;
11   |
12LL | use std::thread::Result;
13   |
14
15error: aborting due to previous error
16