diff options
| author | Eric Huss <eric@huss.org> | 2018-10-15 18:43:57 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2018-11-14 18:55:41 -0800 |
| commit | 7f4bc2247a5fbfd8010ae1a799c3a6b2d173ec82 (patch) | |
| tree | 4604ee287946801ccf5aef0f92122b1ac1d97421 /src/libsyntax/parse/mod.rs | |
| parent | 7d3b9b1640611c52eb949dd60e8b9565997c6cea (diff) | |
| download | rust-7f4bc2247a5fbfd8010ae1a799c3a6b2d173ec82.tar.gz rust-7f4bc2247a5fbfd8010ae1a799c3a6b2d173ec82.zip | |
Clean up some non-mod-rs stuff.
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index fd66bf55a74..ac972f20f94 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -52,9 +52,6 @@ pub struct ParseSess { pub raw_identifier_spans: Lock<Vec<Span>>, /// The registered diagnostics codes crate registered_diagnostics: Lock<ErrorMap>, - // Spans where a `mod foo;` statement was included in a non-mod.rs file. - // These are used to issue errors if the non_modrs_mods feature is not enabled. - pub non_modrs_mods: Lock<Vec<(ast::Ident, Span)>>, /// Used to determine and report recursive mod inclusions included_mod_stack: Lock<Vec<PathBuf>>, source_map: Lrc<SourceMap>, @@ -81,7 +78,6 @@ impl ParseSess { registered_diagnostics: Lock::new(ErrorMap::new()), included_mod_stack: Lock::new(vec![]), source_map, - non_modrs_mods: Lock::new(vec![]), buffered_lints: Lock::new(vec![]), } } |
