Use Ident::dummy()
in dummy_annotatable
.
This is exactly the kind of case `Ident::dummy()` is for.
This commit is contained in:
parent
1a6266340e
commit
bd61e0129f
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ impl MultiItemModifier for Expander {
|
||||||
fn dummy_annotatable() -> Annotatable {
|
fn dummy_annotatable() -> Annotatable {
|
||||||
Annotatable::GenericParam(ast::GenericParam {
|
Annotatable::GenericParam(ast::GenericParam {
|
||||||
id: ast::DUMMY_NODE_ID,
|
id: ast::DUMMY_NODE_ID,
|
||||||
ident: Ident::empty(),
|
ident: Ident::dummy(),
|
||||||
attrs: Default::default(),
|
attrs: Default::default(),
|
||||||
bounds: Default::default(),
|
bounds: Default::default(),
|
||||||
is_placeholder: false,
|
is_placeholder: false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue