forked from gentoo-utils/gentoo-utils
Merge commit '6eba9cd92c295c5389944f6adda1f1e83b2cb008' as 'subprojects/thiserror'
This commit is contained in:
@@ -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