Remove lots of estr code from rustc. Issue #855

This commit is contained in:
Brian Anderson
2011-09-01 22:08:59 -07:00
parent 1d3eb4911a
commit 9c173f17c0
26 changed files with 35 additions and 140 deletions

View File

@@ -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) {