mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 02:24:35 +00:00
77b21b644f
Changes: - Move from EarlyLintPass - Fix entrypoint check with function path def_id.
12 lines
284 B
Plaintext
12 lines
284 B
Plaintext
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
|
|
|