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>2024-08-28 17:39:09 +0200
committerRalf Jung <post@ralfj.de>2024-09-08 16:53:22 +0200
commitfa60ea7d388890169683ad397aba1edf4979738a (patch)
treec00f4e3f0dce7ad3186c7fdef313d81f5d461a5a /compiler/rustc_const_eval/src/interpret/mod.rs
parent7b18b3eb6d45efe45ecbe0b6043a1a93cef4a166 (diff)
downloadrust-fa60ea7d388890169683ad397aba1edf4979738a.tar.gz
rust-fa60ea7d388890169683ad397aba1edf4979738a.zip
interpret: remove Readable trait, we can use Projectable instead
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 511756e3f86..c1e46cc3a15 100644
--- a/compiler/rustc_const_eval/src/interpret/mod.rs
+++ b/compiler/rustc_const_eval/src/interpret/mod.rs
@@ -33,7 +33,7 @@ pub(crate) use self::intrinsics::eval_nullary_intrinsic;
 pub use self::machine::{compile_time_machine, AllocMap, Machine, MayLeak, ReturnAction};
 pub use self::memory::{AllocKind, AllocRef, AllocRefMut, FnVal, Memory, MemoryKind};
 use self::operand::Operand;
-pub use self::operand::{ImmTy, Immediate, OpTy, Readable};
+pub use self::operand::{ImmTy, Immediate, OpTy};
 pub use self::place::{MPlaceTy, MemPlaceMeta, PlaceTy, Writeable};
 use self::place::{MemPlace, Place};
 pub use self::projection::{OffsetMode, Projectable};