mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-06 01:11:06 +00:00
Place compile-fail expected errors on their own line
This commit is contained in:
67 files changed
+140
-70
No files matched your search
@@ -15,10 +15,12 @@ mod remote {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Serialize)] //~ ERROR: mismatched types
|
||||
#[derive(Serialize)]
|
||||
#[serde(remote = "remote::S")]
|
||||
struct S {
|
||||
a: u8, //~^^^ expected u8, found u16
|
||||
a: u8,
|
||||
//~^^^^ ERROR: mismatched types
|
||||
//~^^^^^ expected u8, found u16
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Reference in new issue
Block a user