rust-clippy/tests/ui/crate_level_checks/entrypoint_recursion.stderr
Vincent Dal Maso 77b21b644f
Move expression check to LateLintPass
Changes:
- Move from EarlyLintPass
- Fix entrypoint check with function path def_id.
2019-08-05 13:23:30 +02:00

11 lines
278 B
Text

error: recursing into entrypoint `a`
--> $DIR/entrypoint_recursion.rs:11:5
|
LL | a();
| ^
|
= note: `-D clippy::main-recursion` implied by `-D warnings`
= help: consider using another function for this recursion
error: aborting due to previous error