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