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

@@ -104,7 +104,7 @@ fn expr_to_str(cx: &ext_ctxt, expr: @ast::expr, error: &istr) -> istr {
alt expr.node {
ast::expr_lit(l) {
alt l.node {
ast::lit_str(s, _) { ret s; }
ast::lit_str(s) { ret s; }
_ { cx.span_fatal(l.span, error); }
}
}