@@ -15,6 +15,8 @@ LL | const _READ: u32 = unsafe { ptr::read(PAST_END_PTR) };
1515 | ------------------------------------------------------
1616 |
1717 = note: `#[deny(const_err)]` on by default
18+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
19+ = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
1820
1921error: any use of this value will cause an error
2022 --> $SRC_DIR/core/src/intrinsics.rs:LL:COL
@@ -32,6 +34,9 @@ LL | unsafe { copy_nonoverlapping(src, dst, count) }
3234 |
3335LL | const _CONST_READ: u32 = unsafe { PAST_END_PTR.read() };
3436 | --------------------------------------------------------
37+ |
38+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
39+ = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
3540
3641error: any use of this value will cause an error
3742 --> $SRC_DIR/core/src/intrinsics.rs:LL:COL
@@ -49,6 +54,9 @@ LL | unsafe { copy_nonoverlapping(src, dst, count) }
4954 |
5055LL | const _MUT_READ: u32 = unsafe { (PAST_END_PTR as *mut u32).read() };
5156 | --------------------------------------------------------------------
57+ |
58+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
59+ = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
5260
5361error: aborting due to 3 previous errors
5462
0 commit comments