fork/rust

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

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

master
574 B17 linesraw
1error: function cannot return without recursing
2  --> $DIR/lint-unconditional-drop-recursion.rs:11:5
3   |
4LL |     fn drop(&mut self) {
5   |     ^^^^^^^^^^^^^^^^^^ cannot return without recursing
6LL |         let _ = RecursiveDrop;
7   |                              - recursive call site
8   |
9   = help: a `loop` may express intention better if this is on purpose
10note: the lint level is defined here
11  --> $DIR/lint-unconditional-drop-recursion.rs:5:9
12   |
13LL | #![deny(unconditional_recursion)]
14   |         ^^^^^^^^^^^^^^^^^^^^^^^
15
16error: aborting due to previous error
17