mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 01:18:02 +00:00
Move all compile-fail tests to ui tests
The update-references.sh script makes these much easier to update in bulk compared to compile-fail tests.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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`.
|
||||
Reference in New Issue
Block a user