Eliminate unnecessary Ident::with_empty_ctxts

This commit is contained in:
Vadim Petrochenkov
2019-05-11 19:08:09 +03:00
parent 59a382122f
commit c389a39c97
18 changed files with 33 additions and 33 deletions

View File

@@ -118,7 +118,7 @@ pub fn maybe_inject_crates_ref(
span,
})),
id: ast::DUMMY_NODE_ID,
ident: ast::Ident::with_empty_ctxt(kw::Invalid),
ident: ast::Ident::invalid(),
span,
tokens: None,
}));