diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-26 18:03:06 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-12 05:53:46 +0000 |
| commit | d3514a036dc65c1d31ee5b1b4bd58b9be1edf5af (patch) | |
| tree | 95685bb9f89cc23836f86c958b346447e8fd5356 /compiler/rustc_const_eval/src/interpret/mod.rs | |
| parent | 92414ab25d5b9ddbee37d458e53e70ee4813d5ca (diff) | |
| download | rust-d3514a036dc65c1d31ee5b1b4bd58b9be1edf5af.tar.gz rust-d3514a036dc65c1d31ee5b1b4bd58b9be1edf5af.zip | |
Ensure nested allocations in statics do not get deduplicated
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/mod.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/mod.rs b/compiler/rustc_const_eval/src/interpret/mod.rs index a15e52d07e6..2ed879ca72b 100644 --- a/compiler/rustc_const_eval/src/interpret/mod.rs +++ b/compiler/rustc_const_eval/src/interpret/mod.rs @@ -22,7 +22,7 @@ pub use rustc_middle::mir::interpret::*; // have all the `interpret` symbols in pub use self::eval_context::{format_interp_error, Frame, FrameInfo, InterpCx, StackPopCleanup}; pub use self::intern::{ - intern_const_alloc_for_constprop, intern_const_alloc_recursive, InternKind, + intern_const_alloc_for_constprop, intern_const_alloc_recursive, HasStaticRootDefId, InternKind, }; pub use self::machine::{compile_time_machine, AllocMap, Machine, MayLeak, StackPopJump}; pub use self::memory::{AllocKind, AllocRef, AllocRefMut, FnVal, Memory, MemoryKind}; |
