mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 01:18:02 +00:00
Place compile-fail expected errors on their own line
This commit is contained in:
@@ -21,11 +21,13 @@ mod remote {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Serialize)] //~ ERROR: mismatched types
|
||||
#[derive(Serialize)]
|
||||
#[serde(remote = "remote::S")]
|
||||
struct S {
|
||||
#[serde(getter = "remote::S::get")]
|
||||
a: u8, //~^^^^ expected u8, found u16
|
||||
//~^^^^ ERROR: mismatched types
|
||||
a: u8,
|
||||
//~^^^^^^ expected u8, found u16
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
||||
Reference in New Issue
Block a user