fork/rust

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

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

master
793 B27 linesraw
1error[E0609]: no field `hey` on type `A`
2  --> $DIR/dont-suggest-doc-hidden-fields.rs:22:18
3   |
4LL |     A::default().hey;
5   |                  ^^^ unknown field
6   |
7   = note: available fields are: `hello`, `bye`
8
9error[E0609]: no field `hey` on type `B`
10  --> $DIR/dont-suggest-doc-hidden-fields.rs:29:37
11   |
12LL |     doc_hidden_fields::B::default().hey;
13   |                                     ^^^ unknown field
14   |
15   = note: available fields are: `bye`
16
17error[E0609]: no field `hey` on type `C`
18  --> $DIR/dont-suggest-doc-hidden-fields.rs:34:18
19   |
20LL |     C::default().hey;
21   |                  ^^^ unknown field
22   |
23   = note: available fields are: `hello`, `bye`
24
25error: aborting due to 3 previous errors
26
27For more information about this error, try `rustc --explain E0609`.