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 f7c4931 commit 7db96a3Copy full SHA for 7db96a3
src/librustc/mir/interpret/value.rs
@@ -32,6 +32,7 @@ pub enum ConstValue<'tcx> {
32
Slice(Scalar, u64),
33
34
/// An allocation together with a pointer into the allocation.
35
+ /// Invariant: the pointer's `AllocId` resolves to the allocation.
36
ByRef(Pointer, &'tcx Allocation),
37
}
38
0 commit comments