Remove unused field interner from the parser.

This commit is contained in:
Jeffrey Seyfried 2016-07-11 09:02:16 +00:00
parent 3ab8054ac1
commit 6d5f85996e

View File

@ -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,