2023-10-04 12:10:35 -05:00
|
|
|
error[E0609]: no field `hey` on type `A`
|
|
|
|
--> $DIR/dont-suggest-doc-hidden-fields.rs:22:18
|
|
|
|
|
|
|
|
|
LL | A::default().hey;
|
2023-11-09 00:01:10 -06:00
|
|
|
| ^^^ unknown field
|
2023-10-04 12:10:35 -05:00
|
|
|
|
|
|
|
|
= note: available fields are: `hello`, `bye`
|
|
|
|
|
|
|
|
error[E0609]: no field `hey` on type `B`
|
2023-11-09 00:01:10 -06:00
|
|
|
--> $DIR/dont-suggest-doc-hidden-fields.rs:29:37
|
2023-10-04 12:10:35 -05:00
|
|
|
|
|
|
|
|
LL | doc_hidden_fields::B::default().hey;
|
2023-11-09 00:01:10 -06:00
|
|
|
| ^^^ unknown field
|
2023-10-04 12:10:35 -05:00
|
|
|
|
|
2023-10-23 21:06:06 -05:00
|
|
|
= note: available field is: `bye`
|
2023-10-04 12:10:35 -05:00
|
|
|
|
|
|
|
error[E0609]: no field `hey` on type `C`
|
2023-11-09 00:01:10 -06:00
|
|
|
--> $DIR/dont-suggest-doc-hidden-fields.rs:34:18
|
2023-10-04 12:10:35 -05:00
|
|
|
|
|
|
|
|
LL | C::default().hey;
|
2023-11-09 00:01:10 -06:00
|
|
|
| ^^^ unknown field
|
2023-10-04 12:10:35 -05:00
|
|
|
|
|
|
|
|
= note: available fields are: `hello`, `bye`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0609`.
|