Leave error message intact
This commit is contained in:
parent
49225b8fbc
commit
c660609190
1 changed files with 1 additions and 1 deletions
|
|
@ -544,7 +544,7 @@ fn visit_expr(rcx: &mut Rcx, expr: &ast::Expr) {
|
|||
if tcx.sess.has_errors() {
|
||||
// cannot run dropck; okay b/c in error state anyway.
|
||||
} else {
|
||||
tcx.sess.delay_span_bug(expr.span, "cat_expr Errd");
|
||||
tcx.sess.delay_span_bug(expr.span, "cat_expr_unadjusted Errd");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue