Flags #1233
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
changelog.yml
on: pull_request_target
Changelog check
6s
Annotations
6 warnings
Changelog check
The following actions uses node12 which is deprecated and will be forced to run on node16: Zomzog/changelog-checker@v1.2.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
the following explicit lifetimes could be elided: 'a:
src/i2c/hal_02.rs#L84
warning: the following explicit lifetimes could be elided: 'a
--> src/i2c/hal_02.rs:84:9
|
84 | / fn exec<'a>(
85 | | &mut self,
86 | | address: u8,
87 | | operations: &mut [Operation<'a>],
88 | | ) -> Result<(), Self::Error> {
| |____________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
84 ~ fn exec(
85 | &mut self,
86 | address: u8,
87 ~ operations: &mut [Operation<'_>],
|
|
unneeded sub `cfg` when there is only one condition:
src/dma/traits/f4.rs#L533
warning: unneeded sub `cfg` when there is only one condition
--> src/dma/traits/f4.rs:533:7
|
533 | #[cfg(any(feature = "gpio-f446",))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "gpio-f446"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
|
unneeded sub `cfg` when there is only one condition:
src/i2s.rs#L444
warning: unneeded sub `cfg` when there is only one condition
--> src/i2s.rs:444:7
|
444 | #[cfg(any(feature = "gpio-f412",))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "gpio-f412"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
|
unneeded sub `cfg` when there is only one condition:
src/i2s.rs#L431
warning: unneeded sub `cfg` when there is only one condition
--> src/i2s.rs:431:7
|
431 | #[cfg(any(feature = "gpio-f412",))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "gpio-f412"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
|
unneeded sub `cfg` when there is only one condition:
src/lib.rs#L126
warning: unneeded sub `cfg` when there is only one condition
--> src/lib.rs:126:7
|
126 | #[cfg(all(feature = "device-selected"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "device-selected"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
= note: `#[warn(clippy::non_minimal_cfg)]` on by default
|