Add wrapper type for tokenizing passthrough attrs
diff --git a/syntax/parse.rs b/syntax/parse.rs
index 87f43b2..5ce2cf3 100644
--- a/syntax/parse.rs
+++ b/syntax/parse.rs
@@ -1,3 +1,4 @@
+use crate::syntax::attrs::OtherAttrs;
use crate::syntax::discriminant::DiscriminantSet;
use crate::syntax::file::{Item, ItemForeignMod};
use crate::syntax::report::Errors;
@@ -544,7 +545,7 @@
let ty = parse_type(&arg.ty)?;
if ident != "self" {
let doc = Doc::new();
- let attrs = Vec::new();
+ let attrs = OtherAttrs::none();
let visibility = Token);
args.push_value(Var {
doc,
@@ -1122,7 +1123,7 @@
None => format_ident!("arg{}", i),
};
let doc = Doc::new();
- let attrs = Vec::new();
+ let attrs = OtherAttrs::none();
let visibility = Token);
Ok(Var {
doc,