error[E0080]: evaluation of constant value failed
--> /rustc/xyz/library/core/src/ptr/mod.rs:1135:9
|
- = note: unable to copy parts of a pointer from memory at alloc10
+ = note: unable to copy parts of a pointer from memory at ALLOC_ID
|
= help: this code performed an operation that depends on the underlying bytes representing a pointer
= help: the absolute address of a pointer is not known at compile-time, so such operations are not supported
note: inside `swap_nonoverlapping::<MaybeUninit<u8>>`
--> /rustc/xyz/library/core/src/ptr/mod.rs:925:14
note: inside `X`
- --> $DIR/missing_span_in_backtrace.rs:16:9
+ --> $DIR/missing_span_in_backtrace.rs:17:9
|
LL | / ptr::swap_nonoverlapping(
LL | | &mut ptr1 as *mut _ as *mut MaybeUninit<u8>,