mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-26 20:40:35 +00:00

The update-references.sh script makes these much easier to update in bulk compared to compile-fail tests.
13 lines
315 B
Plaintext
13 lines
315 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/wrong_ser.rs:18:10
|
|
|
|
|
18 | #[derive(Serialize)]
|
|
| ^^^^^^^^^ expected u8, found u16
|
|
|
|
|
= note: expected type `&u8`
|
|
found type `&u16`
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|