librustc: Don't accept as Trait
anymore; fix all occurrences of it.
This commit is contained in:
parent
24a0de4e7f
commit
b1c699815d
101 changed files with 676 additions and 538 deletions
|
@ -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, ()>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue