about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-12-30 15:36:23 -0800
committerPatrick Walton <pcwalton@mimiga.net>2014-01-02 14:16:08 -0800
commite0a5460e946b496ab9b47072e45fa0eb96e7db5e (patch)
treed4cbf61404d39e2ce13dc23d1bcada4891f77492 /src/libsyntax
parent4ee95cf96c8e4d30b8d0dfa83f58d050cae10fae (diff)
downloadrust-e0a5460e946b496ab9b47072e45fa0eb96e7db5e.tar.gz
rust-e0a5460e946b496ab9b47072e45fa0eb96e7db5e.zip
libsyntax: De-`@mut` `Parser::obsolete_set`
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 749000d00d2..96f3b4b5846 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -316,7 +316,7 @@ pub fn Parser(sess: @mut ParseSess, cfg: ast::CrateConfig, rdr: @mut reader)
         tokens_consumed: 0,
         restriction: UNRESTRICTED,
         quote_depth: 0,
-        obsolete_set: @mut HashSet::new(),
+        obsolete_set: HashSet::new(),
         mod_path_stack: @mut ~[],
         open_braces: @mut ~[],
         non_copyable: util::NonCopyable
@@ -345,7 +345,7 @@ pub struct Parser {
     interner: @token::ident_interner,
     /// The set of seen errors about obsolete syntax. Used to suppress
     /// extra detail when the same error is seen twice
-    obsolete_set: @mut HashSet<ObsoleteSyntax>,
+    obsolete_set: HashSet<ObsoleteSyntax>,
     /// Used to determine the path to externally loaded source files
     mod_path_stack: @mut ~[@str],
     /// Stack of spans of open delimiters. Used for error message.