about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-13 10:26:18 -0700
committerGitHub <noreply@github.com>2016-07-13 10:26:18 -0700
commit0b7fb80e1c05bee176ea68d21e19a352a106c968 (patch)
tree0db4006f136b461d7cbdc2cd8de302e69dc1cc17 /src/libsyntax/parse/parser.rs
parent4a12a70a5c516d4aa5e86de52a62f41b67ab8bc0 (diff)
parent060b5c5ef273a6b74ccbd10c1d4a1debfa27d9de (diff)
downloadrust-0b7fb80e1c05bee176ea68d21e19a352a106c968.tar.gz
rust-0b7fb80e1c05bee176ea68d21e19a352a106c968.zip
Auto merge of #34772 - jseyfried:cleanup_interner, r=eddyb
Start cleaning up the string interner

r? @eddyb
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index c6374e59c1b..4656ba03e21 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -259,7 +259,6 @@ pub struct Parser<'a> {
     pub restrictions: Restrictions,
     pub quote_depth: usize, // not (yet) related to the quasiquoter
     pub reader: Box<Reader+'a>,
-    pub interner: Rc<token::IdentInterner>,
     /// The set of seen errors about obsolete syntax. Used to suppress
     /// extra detail when the same error is seen twice
     pub obsolete_set: HashSet<ObsoleteSyntax>,
@@ -356,7 +355,6 @@ impl<'a> Parser<'a> {
 
         Parser {
             reader: rdr,
-            interner: token::get_ident_interner(),
             sess: sess,
             cfg: cfg,
             token: tok0.tok,