about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-06-30 11:24:47 +0000
committerbors <bors@rust-lang.org>2025-06-30 11:24:47 +0000
commitad3b7257615c28aaf8212a189ec032b8af75de51 (patch)
treec0486ad79f8ff9cc1eaba31013d66496bf3686c6 /compiler/rustc_const_eval/src/interpret/mod.rs
parentf19142044f270760ce0ebc03b2c3a44217d8703d (diff)
parentd0bb9a73aa51322476a7efbfc9cd010f788932bb (diff)
downloadrust-ad3b7257615c28aaf8212a189ec032b8af75de51.tar.gz
rust-ad3b7257615c28aaf8212a189ec032b8af75de51.zip
Auto merge of #142839 - oli-obk:denullarification, r=RalfJung,celinval
Stop backends from needing to support nullary intrinsics

And then remove our infrastructure special casing them. Further improvements can now be done to them by avoiding the intermediate ConstValue step, but let's leave that to follow up work

r? `@RalfJung`
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/mod.rs')
-rw-r--r--compiler/rustc_const_eval/src/interpret/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/mod.rs b/compiler/rustc_const_eval/src/interpret/mod.rs
index f5792aba207..f8b3c92debb 100644
--- a/compiler/rustc_const_eval/src/interpret/mod.rs
+++ b/compiler/rustc_const_eval/src/interpret/mod.rs
@@ -29,7 +29,6 @@ pub use self::intern::{
     HasStaticRootDefId, InternKind, InternResult, intern_const_alloc_for_constprop,
     intern_const_alloc_recursive,
 };
-pub(crate) use self::intrinsics::eval_nullary_intrinsic;
 pub use self::machine::{AllocMap, Machine, MayLeak, ReturnAction, compile_time_machine};
 pub use self::memory::{AllocInfo, AllocKind, AllocRef, AllocRefMut, FnVal, Memory, MemoryKind};
 use self::operand::Operand;