Load Testing #110
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0-nightly (4e78abb43 2023-08-28)
- cargo 1.74.0-nightly (925280f02 2023-08-25)
- clippy 0.1.73 (4e78abb 2023-08-28)
Annotations
Check warning on line 19 in bin/load_test/goose_functions/mod.rs
github-actions / clippy
redundant closure
warning: redundant closure
--> bin/load_test/goose_functions/mod.rs:19:32
|
19 | once_cell::sync::Lazy::new(|| reqwest::Client::new());
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `reqwest::Client::new`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
Check warning on line 19 in bin/load_test/goose_functions/mod.rs
github-actions / clippy
redundant closure
warning: redundant closure
--> bin/load_test/goose_functions/mod.rs:19:32
|
19 | once_cell::sync::Lazy::new(|| reqwest::Client::new());
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `reqwest::Client::new`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
Check warning on line 99 in src/state_bridge/service.rs
github-actions / clippy
very complex type used. Consider factoring parts into `type` definitions
warning: very complex type used. Consider factoring parts into `type` definitions
--> src/state_bridge/service.rs:96:10
|
96 | ) -> Result<
| __________^
97 | | Vec<JoinHandle<Result<(), StateBridgeError<L1M, L2M>>>>,
98 | | StateBridgeError<L1M, L2M>,
99 | | > {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
Check warning on line 99 in src/state_bridge/service.rs
github-actions / clippy
very complex type used. Consider factoring parts into `type` definitions
warning: very complex type used. Consider factoring parts into `type` definitions
--> src/state_bridge/service.rs:96:10
|
96 | ) -> Result<
| __________^
97 | | Vec<JoinHandle<Result<(), StateBridgeError<L1M, L2M>>>>,
98 | | StateBridgeError<L1M, L2M>,
99 | | > {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default