1 error[E0574]: expected struct, variant or union type, found enum `Result`
2 --> $DIR/issue-16058.rs:19:9
5 | ^^^^^^ not a struct, variant or union type
7 help: possible better candidates are found in other modules, you can import them into scope
8 | use std::fmt::Result;
10 | use std::thread::Result;
12 error: aborting due to previous error