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:04:02 +0200
committerRalf Jung <post@ralfj.de>2023-07-25 22:33:58 +0200
commit00fb45dccdec7f2f2ba006b57cfd993f8f4ff665 (patch)
treea5078ff09c1df14a756d609660044f5921ba4a6f /compiler/rustc_const_eval/src/interpret/mod.rs
parent4fc6b33474680ba57e10d56371c2c3df91788e26 (diff)
downloadrust-00fb45dccdec7f2f2ba006b57cfd993f8f4ff665.tar.gz
rust-00fb45dccdec7f2f2ba006b57cfd993f8f4ff665.zip
interpret: make write functions generic over the place 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 7974920bc14..de5c6358963 100644
--- a/compiler/rustc_const_eval/src/interpret/mod.rs
+++ b/compiler/rustc_const_eval/src/interpret/mod.rs
@@ -25,7 +25,7 @@ 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::place::{MPlaceTy, MemPlace, MemPlaceMeta, Place, PlaceTy};
+pub use self::place::{MPlaceTy, MemPlace, MemPlaceMeta, Place, PlaceTy, Writeable};
 pub use self::projection::Projectable;
 pub use self::terminator::FnArg;
 pub use self::validity::{CtfeValidationMode, RefTracking};