Skip to content

In examples, disable the static-mut-refs lint #1463

In examples, disable the static-mut-refs lint

In examples, disable the static-mut-refs lint #1463

Triggered via pull request November 29, 2024 20:29
Status Failure
Total duration 55s
Artifacts

clippy.yml

on: pull_request
clippy_check
45s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
unexpected `cfg` condition value: `stm32h757cm7`: src/lib.rs#L114
error: unexpected `cfg` condition value: `stm32h757cm7` --> src/lib.rs:114:7 | 114 | #[cfg(feature = "stm32h757cm7")] | ^^^^^^^^^^-------------- | | | help: there is a expected value with a similar name: `"stm32h747cm7"` | = note: expected values for `feature` are: `can`, `chrono`, `cm4`, `cm7`, `crc`, `default`, `defmt`, `device-selected`, `dsi`, `embedded-display-controller`, `embedded-sdmmc`, `ethernet`, `example-ldo`, `example-smps`, `fdcan`, `fmc`, `gpio-h72`, `gpio-h747`, `gpio-h7a2`, `log`, `log-itm`, `log-rtt`, `log-semihost`, `ltdc`, `rand`, `rand_core`, `revision_v`, `rm0399`, `rm0433`, `rm0455`, `rm0468`, `rt`, `rtc`, `sdio-host`, and `sdmmc` and 20 more = help: consider adding `stm32h757cm7` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `-D unexpected-cfgs` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`
trait `PulseDensityPinD2` is never used: src/sai/pdm.rs#L44
error: trait `PulseDensityPinD2` is never used --> src/sai/pdm.rs:44:11 | 44 | pub trait PulseDensityPinD2<SAI> {} | ^^^^^^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
trait `PulseDensityPinD3` is never used: src/sai/pdm.rs#L45
error: trait `PulseDensityPinD3` is never used --> src/sai/pdm.rs:45:11 | 45 | pub trait PulseDensityPinD3<SAI> {} | ^^^^^^^^^^^^^^^^^
trait `PulseDensityPinD4` is never used: src/sai/pdm.rs#L46
error: trait `PulseDensityPinD4` is never used --> src/sai/pdm.rs:46:11 | 46 | pub trait PulseDensityPinD4<SAI> {} | ^^^^^^^^^^^^^^^^^
trait `PulseDensityPinCK2` is never used: src/sai/pdm.rs#L48
error: trait `PulseDensityPinCK2` is never used --> src/sai/pdm.rs:48:11 | 48 | pub trait PulseDensityPinCK2<SAI> {} | ^^^^^^^^^^^^^^^^^^
trait `PulseDensityPinCK3` is never used: src/sai/pdm.rs#L49
error: trait `PulseDensityPinCK3` is never used --> src/sai/pdm.rs:49:11 | 49 | pub trait PulseDensityPinCK3<SAI> {} | ^^^^^^^^^^^^^^^^^^
trait `PulseDensityPinCK4` is never used: src/sai/pdm.rs#L50
error: trait `PulseDensityPinCK4` is never used --> src/sai/pdm.rs:50:11 | 50 | pub trait PulseDensityPinCK4<SAI> {} | ^^^^^^^^^^^^^^^^^^
struct `Instant` is never constructed: src/time.rs#L82
error: struct `Instant` is never constructed --> src/time.rs:82:12 | 82 | pub struct Instant { | ^^^^^^^
doc list item missing indentation: src/dma/mod.rs#L995
error: doc list item missing indentation --> src/dma/mod.rs:995:9 | 995 | /// source is a peripheral | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `-D clippy::doc-lazy-continuation` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]` help: indent this line | 995 | /// source is a peripheral | ++
doc list item missing indentation: src/dma/mod.rs#L997
error: doc list item missing indentation --> src/dma/mod.rs:997:9 | 997 | /// destination is a peripheral | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 997 | /// destination is a peripheral | ++