about summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer
diff options
context:
space:
mode:
authorTaylor Cramer <cramertj@google.com>2017-11-27 18:14:24 -0800
committerTaylor Cramer <cramertj@google.com>2017-12-19 14:58:51 -0800
commit07f51fb8684e1ea0a3859234d360814093d891bd (patch)
tree2ba4570ab672999453ebbf0d15610392a086d044 /src/libsyntax/parse/lexer
parentb39c4bc12358078f77ddd01288b24252f757f37d (diff)
downloadrust-07f51fb8684e1ea0a3859234d360814093d891bd.tar.gz
rust-07f51fb8684e1ea0a3859234d360814093d891bd.zip
Implement non-mod.rs mod statements
Diffstat (limited to 'src/libsyntax/parse/lexer')
-rw-r--r--src/libsyntax/parse/lexer/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs
index 1e84fb98a66..9828995362a 100644
--- a/src/libsyntax/parse/lexer/mod.rs
+++ b/src/libsyntax/parse/lexer/mod.rs
@@ -1754,6 +1754,7 @@ mod tests {
             included_mod_stack: RefCell::new(Vec::new()),
             code_map: cm,
             missing_fragment_specifiers: RefCell::new(HashSet::new()),
+            non_modrs_mods: RefCell::new(vec![]),
         }
     }