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.
2 parents 2d353c3 + 713e0dd commit 883032bCopy full SHA for 883032b
compiler/rustc_middle/src/mir/interpret/pointer.rs
@@ -167,7 +167,7 @@ impl CtfeProvenance {
167
}
168
169
impl Provenance for CtfeProvenance {
170
- // With the `AllocId` as provenance, the `offset` is interpreted *relative to the allocation*,
+ // With the `CtfeProvenance` as provenance, the `offset` is interpreted *relative to the allocation*,
171
// so ptr-to-int casts are not possible (since we do not know the global physical offset).
172
const OFFSET_IS_ADDR: bool = false;
173
0 commit comments