We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c934df commit 12a8d10Copy full SHA for 12a8d10
compiler/rustc_middle/src/mir/interpret/allocation.rs
@@ -130,8 +130,8 @@ impl<Tag> Allocation<Tag> {
130
// This results in an error that can happen non-deterministically, since the memory
131
// available to the compiler can change between runs. Normally queries are always
132
// deterministic. However, we can be non-determinstic here because all uses of const
133
- // evaluation will make compilation fail (via hard error or ICE) upon
134
- // encountering a `MemoryExhausted` error.
+ // evaluation (including ConstProp!) will make compilation fail (via hard error
+ // or ICE) upon encountering a `MemoryExhausted` error.
135
InterpError::ResourceExhaustion(ResourceExhaustionInfo::MemoryExhausted)
136
})?;
137
bytes.resize(size.bytes_usize(), 0);
0 commit comments