diff options
| author | Gary Guo <gary@garyguo.net> | 2022-10-10 19:50:49 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2023-04-06 09:34:16 +0100 |
| commit | 5e6ed132fa8a1bd1ec6b365e61e9e290528c90f5 (patch) | |
| tree | 1e0d532ba1afa977d46dcd187a260d499d6467b4 /compiler/rustc_const_eval/src/interpret/mod.rs | |
| parent | daeb844e0ccddb9e058128974b290f2022e88be7 (diff) | |
| download | rust-5e6ed132fa8a1bd1ec6b365e61e9e290528c90f5.tar.gz rust-5e6ed132fa8a1bd1ec6b365e61e9e290528c90f5.zip | |
Add `UnwindAction::Unreachable`
This also makes eval machine's `StackPopUnwind` redundant so that is replaced.
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/mod.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/mod.rs b/compiler/rustc_const_eval/src/interpret/mod.rs index 86de4e4e32c..898d62361ab 100644 --- a/compiler/rustc_const_eval/src/interpret/mod.rs +++ b/compiler/rustc_const_eval/src/interpret/mod.rs @@ -20,9 +20,7 @@ mod visitor; pub use rustc_middle::mir::interpret::*; // have all the `interpret` symbols in one place: here -pub use self::eval_context::{ - Frame, FrameInfo, InterpCx, LocalState, LocalValue, StackPopCleanup, StackPopUnwind, -}; +pub use self::eval_context::{Frame, FrameInfo, InterpCx, LocalState, LocalValue, StackPopCleanup}; pub use self::intern::{intern_const_alloc_recursive, InternKind}; pub use self::machine::{compile_time_machine, AllocMap, Machine, MayLeak, StackPopJump}; pub use self::memory::{AllocKind, AllocRef, AllocRefMut, FnVal, Memory, MemoryKind}; |
