Remove lots of estr code from rustc. Issue #855
This commit is contained in:
@@ -278,7 +278,6 @@ fn print_type(s: &ps, ty: &@ast::ty) {
|
||||
word(s.s, ast_util::ty_mach_to_str(tm));
|
||||
}
|
||||
ast::ty_char. { word(s.s, ~"char"); }
|
||||
ast::ty_str. { word(s.s, ~"str"); }
|
||||
ast::ty_istr. { word(s.s, ~"str"); }
|
||||
ast::ty_box(mt) { word(s.s, ~"@"); print_mt(s, mt); }
|
||||
ast::ty_vec(mt) {
|
||||
@@ -1505,7 +1504,7 @@ fn print_literal(s: &ps, lit: &@ast::lit) {
|
||||
_ { }
|
||||
}
|
||||
alt lit.node {
|
||||
ast::lit_str(st, kind) {
|
||||
ast::lit_str(st) {
|
||||
print_string(s, st);
|
||||
}
|
||||
ast::lit_char(ch) {
|
||||
|
||||
Reference in New Issue
Block a user