rustc: "as Trait" can now be written "as @Trait".
There is also code for ~Trait and &Trait, but these are currently (incorrectly) synonyms for "as @Trait" and "as &Trait".
This commit is contained in:
@@ -19,7 +19,7 @@ fn seq_sep_none() -> seq_sep {
|
||||
}
|
||||
|
||||
fn token_to_str(reader: reader, ++token: token::token) -> ~str {
|
||||
token::to_str(*reader.interner(), token)
|
||||
token::to_str(reader.interner(), token)
|
||||
}
|
||||
|
||||
trait parser_common {
|
||||
|
||||
Reference in New Issue
Block a user