Merge pull request #189 from quartiq/dependabot/cargo/sequential-stor… #947
GitHub Actions / clippy
succeeded
Jan 10, 2025 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
Check warning on line 503 in src/hardware/setup.rs
github-actions / clippy
creating a mutable reference to mutable static is discouraged
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:503:29
|
503 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
Check warning on line 7 in src/output_channel.rs
github-actions / clippy
unused import: `num_traits::Float`
warning: unused import: `num_traits::Float`
--> src/output_channel.rs:7:5
|
7 | use num_traits::Float;
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Loading