diff options
| author | Artyom Pavlov <newpavlov@gmail.com> | 2019-08-17 18:54:56 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-17 18:54:56 +0000 |
| commit | 51dcdcfd94450851d64c6d7c4eeab41c3e61f546 (patch) | |
| tree | 03736fa623009967fb3371d9d51ddc7240037f41 /src/libsyntax/parse/parser/module.rs | |
| parent | 7b8273c2e873b814b7c115eabae398d6f11d695b (diff) | |
| parent | d65e272a9fe3e61aa5f229c5358e35a909435575 (diff) | |
| download | rust-51dcdcfd94450851d64c6d7c4eeab41c3e61f546.tar.gz rust-51dcdcfd94450851d64c6d7c4eeab41c3e61f546.zip | |
Merge branch 'master' into redox_builder
Diffstat (limited to 'src/libsyntax/parse/parser/module.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/module.rs | 2 |
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); } |
