We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b8d43 commit c3da843Copy full SHA for c3da843
src/helpers.rs
@@ -58,6 +58,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
58
.map(|(size, _)| size)
59
.unwrap_or_else(|| place.layout.size)
60
);
61
+ assert!(size.bytes() > 0);
62
// Store how far we proceeded into the place so far. Everything to the left of
63
// this offset has already been handled, in the sense that the frozen parts
64
// have had `action` called on them.
0 commit comments