about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/mod.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-07-25 22:19:18 +0200
committerRalf Jung <post@ralfj.de>2023-07-25 22:33:59 +0200
commit77ff1b83cd3279c348312e1e1f9bf6a1c1174178 (patch)
treea1e5eadd6c265e67d2ad2b8a163aa5e2090f71e7 /compiler/rustc_const_eval/src/interpret/mod.rs
parent00fb45dccdec7f2f2ba006b57cfd993f8f4ff665 (diff)
downloadrust-77ff1b83cd3279c348312e1e1f9bf6a1c1174178.tar.gz
rust-77ff1b83cd3279c348312e1e1f9bf6a1c1174178.zip
interpret: make read functions generic over operand type
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/mod.rs')
-rw-r--r--compiler/rustc_const_eval/src/interpret/mod.rs2
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 de5c6358963..b0b553c45d4 100644
--- a/compiler/rustc_const_eval/src/interpret/mod.rs
+++ b/compiler/rustc_const_eval/src/interpret/mod.rs
@@ -24,7 +24,7 @@ pub use self::eval_context::{Frame, FrameInfo, InterpCx, LocalState, LocalValue,
 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};
-pub use self::operand::{ImmTy, Immediate, OpTy, Operand};
+pub use self::operand::{ImmTy, Immediate, OpTy, Operand, Readable};
 pub use self::place::{MPlaceTy, MemPlace, MemPlaceMeta, Place, PlaceTy, Writeable};
 pub use self::projection::Projectable;
 pub use self::terminator::FnArg;