From 41a73d8251553afa39c7082b44b2781ca4898578 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 20 Jul 2023 18:40:15 +0200 Subject: clarify MIR uninit vs LLVM undef/poison --- compiler/rustc_const_eval/src/interpret/operand.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_const_eval/src') diff --git a/compiler/rustc_const_eval/src/interpret/operand.rs b/compiler/rustc_const_eval/src/interpret/operand.rs index da45fdca1a1..47383c0eabc 100644 --- a/compiler/rustc_const_eval/src/interpret/operand.rs +++ b/compiler/rustc_const_eval/src/interpret/operand.rs @@ -31,7 +31,7 @@ pub enum Immediate { /// A pair of two scalar value (must have `ScalarPair` ABI where both fields are /// `Scalar::Initialized`). ScalarPair(Scalar, Scalar), - /// A value of fully uninitialized memory. Can have and size and layout. + /// A value of fully uninitialized memory. Can have arbitrary size and layout. Uninit, } -- cgit 1.4.1-3-g733a5