Get rid of ast::StructFieldKind
This commit is contained in:
parent
772c600d4d
commit
7f3744f07f
10 changed files with 55 additions and 136 deletions
|
@ -1009,7 +1009,8 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
|
|||
let fields: Vec<_> = tys.into_iter().map(|ty| {
|
||||
Spanned { span: ty.span, node: ast::StructField_ {
|
||||
ty: ty,
|
||||
kind: ast::UnnamedField(ast::Visibility::Inherited),
|
||||
ident: None,
|
||||
vis: ast::Visibility::Inherited,
|
||||
attrs: Vec::new(),
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue