about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-26 11:50:27 +0000
committerbors <bors@rust-lang.org>2024-03-26 11:50:27 +0000
commit2e198d04ee1ccd20926701c4da7403d2c6bca7b3 (patch)
tree516054cbab817a3ae4ba709db47420054c52aee0 /compiler/rustc_const_eval/src/errors.rs
parent78d556e28d4e4d60b45bd183c22748967731abb9 (diff)
parent89a36c03850a404d8d3a4b869cb85293e1f9a978 (diff)
downloadrust-2e198d04ee1ccd20926701c4da7403d2c6bca7b3.tar.gz
rust-2e198d04ee1ccd20926701c4da7403d2c6bca7b3.zip
Auto merge of #3419 - RalfJung:rustup, r=RalfJung
Rustup

https://github.com/rust-lang/rust/pull/123081 landed so hopefully this works now.
Diffstat (limited to 'compiler/rustc_const_eval/src/errors.rs')
-rw-r--r--compiler/rustc_const_eval/src/errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/errors.rs b/compiler/rustc_const_eval/src/errors.rs
index cc32640408b..5c46ec799f1 100644
--- a/compiler/rustc_const_eval/src/errors.rs
+++ b/compiler/rustc_const_eval/src/errors.rs
@@ -884,6 +884,7 @@ impl ReportErrorExt for ResourceExhaustionInfo {
             ResourceExhaustionInfo::StackFrameLimitReached => const_eval_stack_frame_limit_reached,
             ResourceExhaustionInfo::MemoryExhausted => const_eval_memory_exhausted,
             ResourceExhaustionInfo::AddressSpaceFull => const_eval_address_space_full,
+            ResourceExhaustionInfo::Interrupted => const_eval_interrupted,
         }
     }
     fn add_args<G: EmissionGuarantee>(self, _: &mut Diag<'_, G>) {}