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:
@@ -263,7 +263,7 @@ class parser {
|
||||
self.sess.span_diagnostic.span_warn(copy self.span, m)
|
||||
}
|
||||
pure fn get_str(i: token::str_num) -> @~str {
|
||||
(*self.reader.interner()).get(i)
|
||||
self.reader.interner().get(i)
|
||||
}
|
||||
fn get_id() -> node_id { next_node_id(self.sess) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user