@@ -15,6 +15,8 @@ LL | const _READ: u32 = unsafe { ptr::read(PAST_END_PTR) };
15
15
| ------------------------------------------------------
16
16
|
17
17
= 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>
18
20
19
21
error: any use of this value will cause an error
20
22
--> $SRC_DIR/core/src/intrinsics.rs:LL:COL
@@ -32,6 +34,9 @@ LL | unsafe { copy_nonoverlapping(src, dst, count) }
32
34
|
33
35
LL | const _CONST_READ: u32 = unsafe { PAST_END_PTR.read() };
34
36
| --------------------------------------------------------
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>
35
40
36
41
error: any use of this value will cause an error
37
42
--> $SRC_DIR/core/src/intrinsics.rs:LL:COL
@@ -49,6 +54,9 @@ LL | unsafe { copy_nonoverlapping(src, dst, count) }
49
54
|
50
55
LL | const _MUT_READ: u32 = unsafe { (PAST_END_PTR as *mut u32).read() };
51
56
| --------------------------------------------------------------------
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>
52
60
53
61
error: aborting due to 3 previous errors
54
62
0 commit comments