fork/rust

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

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

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