mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Fix comments error for CtfeProvenance
This commit is contained in:
@@ -167,7 +167,7 @@ pub fn as_shared_ref(self) -> Self {
|
||||
}
|
||||
|
||||
impl Provenance for CtfeProvenance {
|
||||
// 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*,
|
||||
// so ptr-to-int casts are not possible (since we do not know the global physical offset).
|
||||
const OFFSET_IS_ADDR: bool = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user