mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 08:57:30 +00:00
77b21b644f
Changes: - Move from EarlyLintPass - Fix entrypoint check with function path def_id.
11 lines
284 B
Text
11 lines
284 B
Text
error: recursing into entrypoint `main`
|
|
--> $DIR/std_main_recursion.rs:5:5
|
|
|
|
|
LL | main();
|
|
| ^^^^
|
|
|
|
|
= note: `-D clippy::main-recursion` implied by `-D warnings`
|
|
= help: consider using another function for this recursion
|
|
|
|
error: aborting due to previous error
|
|
|