Skip to content

Commit 33b9afa

Browse files
committed
updated the places where the struct is created #7427
1 parent 6e07377 commit 33b9afa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ pub fn Parser(sess: @mut ParseSess,
309309
quote_depth: @mut 0,
310310
obsolete_set: @mut HashSet::new(),
311311
mod_path_stack: @mut ~[],
312-
open_braces: @mut ~[]
312+
open_braces: @mut ~[],
313+
non_copyable: util::NonCopyable
313314
}
314315
}
315316

@@ -339,7 +340,7 @@ pub struct Parser {
339340
/// Used to determine the path to externally loaded source files
340341
mod_path_stack: @mut ~[@str],
341342
/// Stack of spans of open delimiters. Used for error message.
342-
open_braces: @mut ~[Span]
343+
open_braces: @mut ~[Span],
343344
/* do not copy the parser; its state is tied to outside state */
344345
priv non_copyable: util::NonCopyable
345346
}

0 commit comments

Comments
 (0)