Move MetaItemKind
's Name
to a field of MetaItem
.
This commit is contained in:
parent
4b9b0d3474
commit
e97686d048
10 changed files with 70 additions and 71 deletions
|
@ -70,7 +70,8 @@ pub fn maybe_inject_crates_ref(sess: &ParseSess,
|
|||
attrs: vec![ast::Attribute {
|
||||
style: ast::AttrStyle::Outer,
|
||||
value: P(ast::MetaItem {
|
||||
node: ast::MetaItemKind::Word(token::intern("prelude_import")),
|
||||
name: token::intern("prelude_import"),
|
||||
node: ast::MetaItemKind::Word,
|
||||
span: span,
|
||||
}),
|
||||
id: attr::mk_attr_id(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue