]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/suggest-private-fields.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / suggestions / suggest-private-fields.stderr
1 error[E0560]: struct `xc::B` has no field named `aa`
2   --> $DIR/suggest-private-fields.rs:25:9
3    |
4 LL |         aa: 20,
5    |         ^^ field does not exist - did you mean `a`?
6
7 error[E0560]: struct `xc::B` has no field named `bb`
8   --> $DIR/suggest-private-fields.rs:27:9
9    |
10 LL |         bb: 20,
11    |         ^^ `xc::B` does not have this field
12    |
13    = note: available fields are: `a`
14
15 error[E0560]: struct `A` has no field named `aa`
16   --> $DIR/suggest-private-fields.rs:32:9
17    |
18 LL |         aa: 20,
19    |         ^^ field does not exist - did you mean `a`?
20
21 error[E0560]: struct `A` has no field named `bb`
22   --> $DIR/suggest-private-fields.rs:34:9
23    |
24 LL |         bb: 20,
25    |         ^^ field does not exist - did you mean `b`?
26
27 error: aborting due to 4 previous errors
28
29 For more information about this error, try `rustc --explain E0560`.