fork/rust

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

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

master
534 B17 linesraw
1error: constant evaluation is taking a long time
2  --> $DIR/ctfe-fn-call.rs:28:5
3   |
4LL |     foo();
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/ctfe-fn-call.rs:32:1
11   |
12LL | const X: u32 = call_foo();
13   | ^^^^^^^^^^^^
14   = note: `#[deny(long_running_const_eval)]` on by default
15
16error: aborting due to previous error
17