thiserror/tests/ui/unconditional-recursion.stderr
2024-11-04 22:28:23 -05:00

21 lines
571 B
Text

error: expected expression, found `@`
--> tests/ui/unconditional-recursion.rs:8:5
|
8 | @//fail
| ^ expected expression
warning: function cannot return without recursing
--> tests/ui/unconditional-recursion.rs:4:9
|
4 | #[error("{self}")]
| ^^^^^^^^
| |
| cannot return without recursing
| recursive call site
|
= help: a `loop` may express intention better if this is on purpose
note: the lint level is defined here
--> tests/ui/unconditional-recursion.rs:4:9
|
4 | #[error("{self}")]
| ^^^^^^^^