mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-18 02:38:28 +00:00
77b21b644f
Changes: - Move from EarlyLintPass - Fix entrypoint check with function path def_id.
6 lines
123 B
Rust
6 lines
123 B
Rust
#[warn(clippy::main_recursion)]
|
|
#[allow(unconditional_recursion)]
|
|
fn main() {
|
|
println!("Hello, World!");
|
|
main();
|
|
}
|