fix(deps): update all non-major dependencies #5364
Annotations
11 errors
msrv
Process completed with exit code 101.
|
empty line after doc comment:
src/ec.rs#L763
error: empty line after doc comment
--> src/ec.rs:763:3
|
763 | / /// - `r`: reference
764 | |
| |_
765 | / fn count_signed_subexp_with_ref(
766 | | &self, v: i32, low: i32, high: i32, k: u8, r: i32,
767 | | ) -> u32 {
| |__________- the comment documents this method
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
= help: if the empty line is unintentional remove it
|
manually reimplementing `div_ceil`:
src/rdo.rs#L192
error: manually reimplementing `div_ceil`
--> src/rdo.rs:192:24
|
192 | let n_imp_blocks_w = (w + CHUNK_SIZE - 1) / CHUNK_SIZE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `w.div_ceil(CHUNK_SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
= note: `-D clippy::manual-div-ceil` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_div_ceil)]`
|
manually reimplementing `div_ceil`:
src/rdo.rs#L193
error: manually reimplementing `div_ceil`
--> src/rdo.rs:193:24
|
193 | let n_imp_blocks_h = (h + CHUNK_SIZE - 1) / CHUNK_SIZE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `h.div_ceil(CHUNK_SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
|
manual arithmetic check found:
src/rdo.rs#L234
error: manual arithmetic check found
--> src/rdo.rs:234:10
|
234 | } else if x >= frame_w {
| __________^
235 | | 0
236 | | } else {
237 | | frame_w - x
238 | | };
| |___^ help: replace it with: `frame_w.saturating_sub(x)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_sub
= note: `-D clippy::implicit-saturating-sub` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::implicit_saturating_sub)]`
|
manual arithmetic check found:
src/rdo.rs#L242
error: manual arithmetic check found
--> src/rdo.rs:242:10
|
242 | } else if y >= frame_h {
| __________^
243 | | 0
244 | | } else {
245 | | frame_h - y
246 | | };
| |___^ help: replace it with: `frame_h.saturating_sub(y)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_sub
|
the following explicit lifetimes could be elided: 'a:
src/context/partition_unit.rs#L130
error: the following explicit lifetimes could be elided: 'a
--> src/context/partition_unit.rs:130:6
|
130 | impl<'a> ContextWriter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
130 - impl<'a> ContextWriter<'a> {
130 + impl ContextWriter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/context/partition_unit.rs#L412
error: the following explicit lifetimes could be elided: 'a
--> src/context/partition_unit.rs:412:6
|
412 | impl<'a> BlockContext<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
412 - impl<'a> BlockContext<'a> {
412 + impl BlockContext<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/context/transform_unit.rs#L526
error: the following explicit lifetimes could be elided: 'a
--> src/context/transform_unit.rs:526:6
|
526 | impl<'a> ContextWriter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
526 - impl<'a> ContextWriter<'a> {
526 + impl ContextWriter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/context/block_unit.rs#L679
error: the following explicit lifetimes could be elided: 'a
--> src/context/block_unit.rs:679:6
|
679 | impl<'a> ContextWriter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
679 - impl<'a> ContextWriter<'a> {
679 + impl ContextWriter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/context/frame_header.rs#L48
error: the following explicit lifetimes could be elided: 'a
--> src/context/frame_header.rs:48:6
|
48 | impl<'a> ContextWriter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
48 - impl<'a> ContextWriter<'a> {
48 + impl ContextWriter<'_> {
|
|