mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
77b21b644f
Changes: - Move from EarlyLintPass - Fix entrypoint check with function path def_id.
11 lines
278 B
Text
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
|
|
|