fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
924 B27 linesraw
1error[E0609]: no field `c` on type `Foo`
2  --> $DIR/non-existent-field-present-in-subfield.rs:37:24
3   |
4LL |     let _test = &fooer.c;
5   |                        ^ unknown field
6   |
7   = note: available fields are: `first`, `_second`, `_third`
8help: one of the expressions' fields has a field of the same name
9   |
10LL |     let _test = &fooer.first.bar.c;
11   |                        ++++++++++
12
13error[E0609]: no field `test` on type `Foo`
14  --> $DIR/non-existent-field-present-in-subfield.rs:40:24
15   |
16LL |     let _test2 = fooer.test;
17   |                        ^^^^ unknown field
18   |
19   = note: available fields are: `first`, `_second`, `_third`
20help: one of the expressions' fields has a field of the same name
21   |
22LL |     let _test2 = fooer.first.bar.c.test;
23   |                        ++++++++++++
24
25error: aborting due to 2 previous errors
26
27For more information about this error, try `rustc --explain E0609`.