Skip to content

Commit c660609

Browse files
committed
Leave error message intact
1 parent 49225b8 commit c660609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/regionck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ fn visit_expr(rcx: &mut Rcx, expr: &ast::Expr) {
544544
if tcx.sess.has_errors() {
545545
// cannot run dropck; okay b/c in error state anyway.
546546
} else {
547-
tcx.sess.delay_span_bug(expr.span, "cat_expr Errd");
547+
tcx.sess.delay_span_bug(expr.span, "cat_expr_unadjusted Errd");
548548
}
549549
}
550550
}

0 commit comments

Comments
 (0)