fork/rust

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

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

master
773 B27 linesraw
1error[E0080]: could not evaluate static initializer
2  --> $DIR/box.rs:8:11
3   |
4LL |     &mut *(Box::new(0))
5   |           ^^^^^^^^^^^^^ calling non-const function `Box::<i32>::new`
6
7warning: skipping const checks
8   |
9help: skipping check that does not even have a feature gate
10  --> $DIR/box.rs:8:11
11   |
12LL |     &mut *(Box::new(0))
13   |           ^^^^^^^^^^^^^
14help: skipping check for `const_mut_refs` feature
15  --> $DIR/box.rs:8:5
16   |
17LL |     &mut *(Box::new(0))
18   |     ^^^^^^^^^^^^^^^^^^^
19help: skipping check that does not even have a feature gate
20  --> $DIR/box.rs:8:5
21   |
22LL |     &mut *(Box::new(0))
23   |     ^^^^^^^^^^^^^^^^^^^
24
25error: aborting due to previous error; 1 warning emitted
26
27For more information about this error, try `rustc --explain E0080`.