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:
@@ -15,11 +15,12 @@ mod remote {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Serialize)] //~ ERROR: 18:10: 18:19: #[serde(getter = "...")] is not allowed in an enum
|
||||
#[derive(Serialize)]
|
||||
#[serde(remote = "remote::E")]
|
||||
pub enum E {
|
||||
A {
|
||||
#[serde(getter = "get_a")]
|
||||
//~^^^^^ ERROR: #[serde(getter = "...")] is not allowed in an enum
|
||||
a: u8,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user