build(deps): bump bytes from 1.10.1 to 1.11.1 #238
ci.yml
on: push
cargo check
47s
cargo fmt
14s
cargo test
1m 3s
cargo clippy
47s
minimal direct dependencies
44s
cargo clippy latest
42s
allgreen
5s
Annotations
6 warnings
|
hiding a lifetime that's elided elsewhere is confusing:
open-build-service-api/src/lib.rs#L1302
warning: hiding a lifetime that's elided elsewhere is confusing
--> open-build-service-api/src/lib.rs:1302:20
|
1302 | pub fn project(&self, project: String) -> ProjectBuilder {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
1302 | pub fn project(&self, project: String) -> ProjectBuilder<'_> {
| ++++
|
|
hiding a lifetime that's elided elsewhere is confusing:
open-build-service-api/src/lib.rs#L1302
warning: hiding a lifetime that's elided elsewhere is confusing
--> open-build-service-api/src/lib.rs:1302:20
|
1302 | pub fn project(&self, project: String) -> ProjectBuilder {
| ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
1302 | pub fn project(&self, project: String) -> ProjectBuilder<'_> {
| ++++
|
|
hiding a lifetime that's elided elsewhere is confusing:
open-build-service-mock/src/lib.rs#L856
warning: hiding a lifetime that's elided elsewhere is confusing
--> open-build-service-mock/src/lib.rs:856:9
|
856 | &self,
| ^^^^^ the lifetime is elided here
...
860 | ) -> MockSourceFileKey {
| ^^^^^^^^^^^^^^^^^
| |
| the same lifetime is hidden here
| the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
860 | ) -> MockSourceFileKey<'_> {
| ++++
|
|
hiding a lifetime that's elided elsewhere is confusing:
open-build-service-mock/src/lib.rs#L856
warning: hiding a lifetime that's elided elsewhere is confusing
--> open-build-service-mock/src/lib.rs:856:9
|
856 | &self,
| ^^^^^ the lifetime is elided here
...
860 | ) -> MockSourceFileKey {
| ^^^^^^^^^^^^^^^^^
| |
| the same lifetime is hidden here
| the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
860 | ) -> MockSourceFileKey<'_> {
| ++++
|
|
this `if` statement can be collapsed:
open-build-service-mock/src/api/build.rs#L459
warning: this `if` statement can be collapsed
--> open-build-service-mock/src/api/build.rs:459:21
|
459 | / if let Some(limit) = limit {
460 | | if limit > 0 && entries_added >= limit {
461 | | break;
462 | | }
463 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
459 ~ if let Some(limit) = limit
460 ~ && limit > 0 && entries_added >= limit {
461 | break;
462 ~ }
|
|
|
this `if` statement can be collapsed:
open-build-service-mock/src/api/build.rs#L459
warning: this `if` statement can be collapsed
--> open-build-service-mock/src/api/build.rs:459:21
|
459 | / if let Some(limit) = limit {
460 | | if limit > 0 && entries_added >= limit {
461 | | break;
462 | | }
463 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
459 ~ if let Some(limit) = limit
460 ~ && limit > 0 && entries_added >= limit {
461 | break;
462 ~ }
|
|