mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-17 19:41:07 +00:00
Replace deprecated MacroInput; completes c52e13
This commit is contained in:
@@ -45,7 +45,7 @@ pub enum Style {
|
||||
}
|
||||
|
||||
impl<'a> Container<'a> {
|
||||
pub fn from_ast(cx: &Ctxt, item: &'a syn::MacroInput) -> Container<'a> {
|
||||
pub fn from_ast(cx: &Ctxt, item: &'a syn::DeriveInput) -> Container<'a> {
|
||||
let attrs = attr::Container::from_ast(cx, item);
|
||||
|
||||
let mut body = match item.body {
|
||||
|
||||
Reference in New Issue
Block a user