forked from gentoo-utils/gentoo-utils
Squashed 'subprojects/thiserror/' content from commit 247eab5
git-subtree-dir: subprojects/thiserror git-subtree-split: 247eab5d79e27ad28859afdf8bc600a4242829b7
This commit is contained in:
21
tests/ui/unconditional-recursion.stderr
Normal file
21
tests/ui/unconditional-recursion.stderr
Normal file
@@ -0,0 +1,21 @@
|
||||
error[E0425]: cannot find value `__FAIL__` in this scope
|
||||
--> tests/ui/unconditional-recursion.rs:8:5
|
||||
|
|
||||
8 | __FAIL__;
|
||||
| ^^^^^^^^ not found in this scope
|
||||
|
||||
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}")]
|
||||
| ^^^^^^^^
|
||||
Reference in New Issue
Block a user