Update to syn master

This commit is contained in:
Alex Crichton
2017-12-31 14:40:57 -08:00
parent e03ef1c2a4
commit 8ba64bab68
2 changed files with 34 additions and 46 deletions

View File

@ -435,7 +435,7 @@ fn bindgen_import(import: &ast::Import, tokens: &mut Tokens) {
.map(|arg| {
match arg.pat {
syn::Pat::Ident(syn::PatIdent {
mode: syn::BindingMode::ByValue(_),
by_ref: None,
ident,
subpat: None,
..