remove get_ident
and get_name
, make as_str
sound
This commit is contained in:
parent
9ca511cf63
commit
00a5e66f81
68 changed files with 433 additions and 534 deletions
|
@ -160,8 +160,7 @@ impl fold::Folder for PreludeInjector {
|
|||
style: ast::AttrOuter,
|
||||
value: P(ast::MetaItem {
|
||||
span: self.span,
|
||||
node: ast::MetaWord(token::get_name(
|
||||
special_idents::prelude_import.name)),
|
||||
node: ast::MetaWord(special_idents::prelude_import.name.as_str()),
|
||||
}),
|
||||
is_sugared_doc: false,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue