diff options
| author | bors <bors@rust-lang.org> | 2014-02-03 16:31:33 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-02-03 16:31:33 -0800 |
| commit | 2877928b22c239849a79b48d07139104ff144cd4 (patch) | |
| tree | 353c4f1867a372988399165465f6528a8b740b87 /src/libsyntax/parse | |
| parent | fde11e7ae5b9b67dfdf23862f60f4ee4dae4910f (diff) | |
| parent | c6b1bce96f25e785d22e976d1cc41cabdae5ea73 (diff) | |
| download | rust-2877928b22c239849a79b48d07139104ff144cd4.tar.gz rust-2877928b22c239849a79b48d07139104ff144cd4.zip | |
auto merge of #12016 : FlaPer87/rust/remove-non-copyable, r=alexcrichton
cc #10834
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index dd7cc3a2314..b80c222d4dc 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -81,6 +81,7 @@ use opt_vec::OptVec; use std::cell::Cell; use std::hashmap::HashSet; +use std::kinds::marker; use std::util; use std::vec; @@ -317,7 +318,7 @@ pub fn Parser(sess: @ParseSess, cfg: ast::CrateConfig, rdr: @Reader) obsolete_set: HashSet::new(), mod_path_stack: ~[], open_braces: ~[], - non_copyable: util::NonCopyable + nopod: marker::NoPod } } @@ -348,7 +349,7 @@ pub struct Parser { /// Stack of spans of open delimiters. Used for error message. open_braces: ~[Span], /* do not copy the parser; its state is tied to outside state */ - priv non_copyable: util::NonCopyable + priv nopod: marker::NoPod } fn is_plain_ident_or_underscore(t: &token::Token) -> bool { |
