1 error: any use of this value will cause an error
2 --> $DIR/intrinsic-raw_eq-const-padding.rs:6:5
4 LL | / const BAD_RAW_EQ_CALL: bool = unsafe {
5 LL | | std::intrinsics::raw_eq(&(1_u8, 2_u16), &(1_u8, 2_u16))
6 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reading 4 bytes of memory starting at alloc2, but 1 byte is uninitialized starting at alloc2+0x1, and this operation requires initialized memory
12 note: the lint level is defined here
13 --> $DIR/intrinsic-raw_eq-const-padding.rs:3:9
15 LL | #![deny(const_err)]
17 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
18 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
20 error: aborting due to previous error