Ident::with_empty_ctxt -> Ident::with_dummy_span
`Ident` has had a full span rather than just a `SyntaxContext` for a long time now.
This commit is contained in:
parent
67d6ce4206
commit
6cb28b6617
30 changed files with 77 additions and 77 deletions
|
|
@ -60,7 +60,7 @@ impl<'a> Parser<'a> {
|
|||
// Record that we fetched the mod from an external file
|
||||
if warn {
|
||||
let attr = attr::mk_attr_outer(
|
||||
attr::mk_word_item(Ident::with_empty_ctxt(sym::warn_directory_ownership)));
|
||||
attr::mk_word_item(Ident::with_dummy_span(sym::warn_directory_ownership)));
|
||||
attr::mark_known(&attr);
|
||||
attrs.push(attr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue