fork/rust

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

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

master
558 B17 linesraw
1error: constant evaluation is taking a long time
2  --> $DIR/issue-70723.rs:1:17
3   |
4LL | static _X: () = loop {};
5   |                 ^^^^^^^
6   |
7   = note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
8           If your compilation actually takes a long time, you can safely allow the lint.
9help: the constant being evaluated
10  --> $DIR/issue-70723.rs:1:1
11   |
12LL | static _X: () = loop {};
13   | ^^^^^^^^^^^^^
14   = note: `#[deny(long_running_const_eval)]` on by default
15
16error: aborting due to previous error
17