| 1 |
error[E0425]: cannot find value `__FAIL__` in this scope |
| 2 |
--> tests/ui/unconditional-recursion.rs:8:5 |
| 3 |
| |
| 4 |
8 | __FAIL__; |
| 5 |
| ^^^^^^^^ not found in this scope |
| 6 |
|
| 7 |
warning: function cannot return without recursing |
| 8 |
--> tests/ui/unconditional-recursion.rs:4:9 |
| 9 |
| |
| 10 |
4 | #[error("{self}")] |
| 11 |
| ^^^^^^^^ |
| 12 |
| | |
| 13 |
| cannot return without recursing |
| 14 |
| recursive call site |
| 15 |
| |
| 16 |
= help: a `loop` may express intention better if this is on purpose |
| 17 |
note: the lint level is defined here |
| 18 |
--> tests/ui/unconditional-recursion.rs:4:9 |
| 19 |
| |
| 20 |
4 | #[error("{self}")] |
| 21 |
| ^^^^^^^^ |