Update tests. · rust-lang/rust@1e037f4 (original) (raw)

Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@ error[E0560]: struct `submodule::Demo` has no field named `inocently_mispellable
2 2 --> $DIR/issue-42599_available_fields_note.rs:26:39
3 3 |
4 4 26 | Self { secret_integer: 2, inocently_mispellable: () }
5 - | ^^^^^^^^^^^^^^^^^^^^^^ field does not exist - did you mean `innocently_misspellable`?
5 + | ^^^^^^^^^^^^^^^^^^^^^ field does not exist - did you mean `innocently_misspellable`?
6 6
7 7 error[E0560]: struct `submodule::Demo` has no field named `egregiously_nonexistent_field`
8 8 --> $DIR/issue-42599_available_fields_note.rs:31:39
9 9 |
10 10 31 | Self { secret_integer: 3, egregiously_nonexistent_field: () }
11 - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `submodule::Demo` does not have this field
11 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `submodule::Demo` does not have this field
12 12 |
13 13 = note: available fields are: `favorite_integer`, `secret_integer`, `innocently_misspellable`, `another_field`, `yet_another_field` ... and 2 others
14 14