1
Fork 0

Convert bugs back to delayed_bugs.

This commit undoes some of the previous commit's mechanical changes,
based on human judgment.
This commit is contained in:
Nicholas Nethercote 2024-02-20 09:36:28 +11:00
parent 010f3944e0
commit 2903bbbc15
24 changed files with 87 additions and 42 deletions

View file

@ -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");