Update for new pac #1485
Annotations
5 errors and 1 warning
this expression creates a reference which is immediately dereferenced by the compiler:
src/dma/dma.rs#L345
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/dma/dma.rs:345:9
|
345 | &(*I::ptr()).st(S as usize)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `(*I::ptr()).st(S as usize)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
this expression creates a reference which is immediately dereferenced by the compiler:
src/dma/dma.rs#L349
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/dma/dma.rs:349:9
|
349 | &dmamux.ccr(S as usize + I::DMA_MUX_STREAM_OFFSET)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `dmamux.ccr(S as usize + I::DMA_MUX_STREAM_OFFSET)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
src/dma/bdma.rs#L268
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/dma/bdma.rs:268:9
|
268 | &(*I::ptr()).ch(S as usize)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `(*I::ptr()).ch(S as usize)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
src/dma/bdma.rs#L272
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/dma/bdma.rs:272:9
|
272 | &dmamux.ccr(S as usize + I::DMA_MUX_STREAM_OFFSET)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `dmamux.ccr(S as usize + I::DMA_MUX_STREAM_OFFSET)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
clippy_check
Clippy has exited with exit code 101
|
clippy_check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|