token_to_ident takes argument by reference
This commit is contained in:
@@ -1475,7 +1475,7 @@ pub fn print_decl(s: @ps, decl: @ast::decl) {
|
||||
}
|
||||
|
||||
pub fn print_ident(s: @ps, ident: ast::ident) {
|
||||
word(s.s, *ident_to_str(ident));
|
||||
word(s.s, *ident_to_str(&ident));
|
||||
}
|
||||
|
||||
pub fn print_for_decl(s: @ps, loc: @ast::local, coll: @ast::expr) {
|
||||
|
||||
Reference in New Issue
Block a user