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
|
@ -178,7 +178,7 @@ fn inject_impl_of_structural_trait(
|
|||
|
||||
let newitem = cx.item(
|
||||
span,
|
||||
Ident::invalid(),
|
||||
Ident::empty(),
|
||||
attrs,
|
||||
ItemKind::Impl(Box::new(ImplKind {
|
||||
unsafety: ast::Unsafe::No,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue