mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-30 14:31:53 +00:00
20 lines
451 B
Plaintext
20 lines
451 B
Plaintext
error[E0609]: no field `b` on type `&remote::S`
|
|
--> tests/ui/remote/unknown_field.rs:12:5
|
|
|
|
|
12 | b: u8,
|
|
| ^ unknown field
|
|
|
|
|
help: a field with a similar name exists
|
|
|
|
|
12 - b: u8,
|
|
12 + a: u8,
|
|
|
|
|
|
|
error[E0560]: struct `remote::S` has no field named `b`
|
|
--> tests/ui/remote/unknown_field.rs:12:5
|
|
|
|
|
12 | b: u8,
|
|
| ^ `remote::S` does not have this field
|
|
|
|
|
= note: all struct fields are already assigned
|