1
Fork 0

librustc: Don't accept as Trait anymore; fix all occurrences of it.

This commit is contained in:
Patrick Walton 2013-03-12 13:00:50 -07:00
parent 24a0de4e7f
commit b1c699815d
101 changed files with 676 additions and 538 deletions

View file

@ -215,8 +215,8 @@ struct ParsedItemsAndViewItems {
pub fn Parser(sess: @mut ParseSess,
+cfg: ast::crate_cfg,
+rdr: reader) -> Parser {
+rdr: @reader)
-> Parser {
let tok0 = copy rdr.next_token();
let interner = rdr.interner();
@ -254,7 +254,7 @@ pub struct Parser {
tokens_consumed: @mut uint,
restriction: @mut restriction,
quote_depth: @mut uint, // not (yet) related to the quasiquoter
reader: reader,
reader: @reader,
interner: @token::ident_interner,
keywords: HashMap<~str, ()>,
strict_keywords: HashMap<~str, ()>,