libsyntax: De-@mut
Parser::obsolete_set
This commit is contained in:
parent
4ee95cf96c
commit
e0a5460e94
1 changed files with 2 additions and 2 deletions
|
@ -316,7 +316,7 @@ pub fn Parser(sess: @mut ParseSess, cfg: ast::CrateConfig, rdr: @mut reader)
|
||||||
tokens_consumed: 0,
|
tokens_consumed: 0,
|
||||||
restriction: UNRESTRICTED,
|
restriction: UNRESTRICTED,
|
||||||
quote_depth: 0,
|
quote_depth: 0,
|
||||||
obsolete_set: @mut HashSet::new(),
|
obsolete_set: HashSet::new(),
|
||||||
mod_path_stack: @mut ~[],
|
mod_path_stack: @mut ~[],
|
||||||
open_braces: @mut ~[],
|
open_braces: @mut ~[],
|
||||||
non_copyable: util::NonCopyable
|
non_copyable: util::NonCopyable
|
||||||
|
@ -345,7 +345,7 @@ pub struct Parser {
|
||||||
interner: @token::ident_interner,
|
interner: @token::ident_interner,
|
||||||
/// The set of seen errors about obsolete syntax. Used to suppress
|
/// The set of seen errors about obsolete syntax. Used to suppress
|
||||||
/// extra detail when the same error is seen twice
|
/// 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
|
/// Used to determine the path to externally loaded source files
|
||||||
mod_path_stack: @mut ~[@str],
|
mod_path_stack: @mut ~[@str],
|
||||||
/// Stack of spans of open delimiters. Used for error message.
|
/// Stack of spans of open delimiters. Used for error message.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue