Update Main.yml #27
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy-os
succeeded
Oct 5, 2023 in 1s
clippy-os
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0-nightly (2bbb61989 2023-10-04)
- cargo 1.75.0-nightly (794d0a825 2023-10-03)
- clippy 0.1.74 (2bbb619 2023-10-04)
Annotations
Check warning on line 9 in src/main.rs
github-actions / clippy-os
empty `loop {}` wastes CPU cycles
warning: empty `loop {}` wastes CPU cycles
--> src/main.rs:9:5
|
9 | loop {};
| ^^^^^^^
|
= help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop
= note: `#[warn(clippy::empty_loop)]` on by default
Loading