fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
558 B12 linesraw
1error[E0080]: evaluation of constant value failed
2  --> $DIR/partial_ptr_overwrite.rs:8:9
3   |
4LL |         *(ptr as *mut u8) = 123;
5   |         ^^^^^^^^^^^^^^^^^^^^^^^ unable to overwrite parts of a pointer in memory at alloc4
6   |
7   = help: this code performed an operation that depends on the underlying bytes representing a pointer
8   = help: the absolute address of a pointer is not known at compile-time, so such operations are not supported
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0080`.