mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-07-21 06:15:44 +00:00
Update tests and use quote! macro
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Deserialize)] //~ ERROR: proc-macro derive panicked
|
||||
#[derive(Deserialize)] //~ ERROR: 12:10: 12:21: failed to parse borrowed lifetimes: "zzz"
|
||||
struct Test<'a> {
|
||||
#[serde(borrow = "zzz")] //~^^ HELP: failed to parse borrowed lifetimes: "zzz"
|
||||
#[serde(borrow = "zzz")]
|
||||
s: &'a str,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user