2019-06-17 15:36:42 +00:00
|
|
|
error: recursing into entrypoint `main`
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/crate_level_checks/std_main_recursion.rs:5:5
|
2019-06-13 08:58:35 +00:00
|
|
|
|
|
|
|
|
LL | main();
|
2019-06-17 15:36:42 +00:00
|
|
|
| ^^^^
|
2019-06-13 08:58:35 +00:00
|
|
|
|
|
2019-06-17 15:36:42 +00:00
|
|
|
= help: consider using another function for this recursion
|
2022-09-22 16:04:22 +00:00
|
|
|
= note: `-D clippy::main-recursion` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::main_recursion)]`
|
2019-06-13 08:58:35 +00:00
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2019-06-13 08:58:35 +00:00
|
|
|
|