]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-16058.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / resolve / issue-16058.stderr
1 error[E0574]: expected struct, variant or union type, found enum `Result`
2   --> $DIR/issue-16058.rs:8:9
3    |
4 LL |         Result {
5    |         ^^^^^^ not a struct, variant or union type
6 help: possible better candidates are found in other modules, you can import them into scope
7    |
8 LL | use std::fmt::Result;
9    |
10 LL | use std::io::Result;
11    |
12 LL | use std::thread::Result;
13    |
14
15 error: aborting due to previous error
16