about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-16 08:26:36 +0200
committerGitHub <noreply@github.com>2019-08-16 08:26:36 +0200
commit6e9e6ea39bbc2c9e58cdc854c55dfc1487a77ae1 (patch)
tree3f954fcac1528b39e95ca78bc3ebad58a30613e0 /src/libsyntax/parse/parser
parent32c10056525d427292fdb5e7db7497e2bbe9551b (diff)
parentc76277340e3e5e8d6aca9c926c45cac3484eb5f8 (diff)
downloadrust-6e9e6ea39bbc2c9e58cdc854c55dfc1487a77ae1.tar.gz
rust-6e9e6ea39bbc2c9e58cdc854c55dfc1487a77ae1.zip
Rollup merge of #63535 - petrochenkov:expndata, r=matthewjasper
Continue refactoring resolve and hygiene

The general goal is addressing FIXMEs from the previous PRs.

Merging similar data structures (+ prerequisites for such merging), accounting for the fact that all `ExpnId`s have associated data in `HygieneData` now (less `Option`s).

Also, some renaming.
This should be the last renaming session in this area, I think.

r? @matthewjasper
Diffstat (limited to 'src/libsyntax/parse/parser')
-rw-r--r--src/libsyntax/parse/parser/module.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/module.rs b/src/libsyntax/parse/parser/module.rs
index 58a7ffba948..3f6f87b1c44 100644
--- a/src/libsyntax/parse/parser/module.rs
+++ b/src/libsyntax/parse/parser/module.rs
@@ -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);
                 }