Remove lots of estr code from rustc. Issue #855
This commit is contained in:
@@ -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); }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user