We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124bb03 commit 1a69b17Copy full SHA for 1a69b17
tests/ui/crate_level_checks/no_std_main_recursion.rs
@@ -12,12 +12,12 @@ static N: AtomicUsize = AtomicUsize::new(0);
12
13
#[warn(clippy::main_recursion)]
14
#[start]
15
-fn main(argc: isize, argv: *const *const u8) -> isize {
+fn main(_argc: isize, _argv: *const *const u8) -> isize {
16
let x = N.load(Ordering::Relaxed);
17
N.store(x + 1, Ordering::Relaxed);
18
19
if x < 3 {
20
- main(argc, argv);
+ main(_argc, _argv);
21
}
22
23
0
0 commit comments