fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
449 B15 linesraw
1warning: skipping const checks
2  --> $DIR/box.rs:10:11
3   |
4LL |     &mut *(box 0)
5   |           ^^^^^^^
6
7error[E0080]: could not evaluate static initializer
8  --> $DIR/box.rs:10:11
9   |
10LL |     &mut *(box 0)
11   |           ^^^^^^^ "heap allocations via `box` keyword" needs an rfc before being allowed inside constants
12
13error: aborting due to previous error; 1 warning emitted
14
15For more information about this error, try `rustc --explain E0080`.