mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-28 17:17:57 +00:00
Place compile-fail expected errors on their own line
This commit is contained in:
@@ -9,9 +9,10 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Deserialize)] //~ ERROR: 12:10: 12:21: field `s` does not have lifetime 'b
|
||||
#[derive(Deserialize)]
|
||||
struct Test<'a> {
|
||||
#[serde(borrow = "'b")]
|
||||
//~^^^ ERROR: field `s` does not have lifetime 'b
|
||||
s: &'a str,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user