Convert bug
s back to delayed_bug
s.
This commit undoes some of the previous commit's mechanical changes, based on human judgment.
This commit is contained in:
parent
010f3944e0
commit
2903bbbc15
24 changed files with 87 additions and 42 deletions
|
@ -622,7 +622,7 @@ impl<'mir, 'tcx> interpret::Machine<'mir, 'tcx> for CompileTimeInterpreter<'mir,
|
|||
);
|
||||
// If this was a hard error, don't bother continuing evaluation.
|
||||
if is_error {
|
||||
let guard: rustc_errors::ErrorGuaranteed = ecx
|
||||
let guard = ecx
|
||||
.tcx
|
||||
.dcx()
|
||||
.span_delayed_bug(span, "The deny lint should have already errored");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue