rustc_span: Ident::invalid
-> Ident::empty
The equivalent for `Symbol`s was renamed some time ago (`kw::Invalid` -> `kw::Empty`), and it makes sense to do the same thing for `Ident`s.
This commit is contained in:
parent
8db8f48ea8
commit
a6808335d4
20 changed files with 34 additions and 35 deletions
|
@ -812,7 +812,7 @@ pub fn expand_global_asm<'cx>(
|
|||
Ok(args) => {
|
||||
if let Some(inline_asm) = expand_preparsed_asm(ecx, args) {
|
||||
MacEager::items(smallvec![P(ast::Item {
|
||||
ident: Ident::invalid(),
|
||||
ident: Ident::empty(),
|
||||
attrs: Vec::new(),
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
kind: ast::ItemKind::GlobalAsm(inline_asm),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue