upgrade unified #1652
upgrade unified #1652
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (1)
framework/scenario/tests/contract_without_macros.rs|111 col 14| warning: very complex type used. Consider factoring parts into type
definitions
--> framework/scenario/tests/contract_without_macros.rs:111:14
|
111 | ) -> Tx<
| _____^
112 | | TxScEnvSelf::Api,
113 | | (),
114 | | Self::To,
... |
118 | | OriginalResultMarker<BigIntSelf::Api>,
119 | | > {
| |^
|
= 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
Filtered Findings (2)
framework/base/src/storage/mappers/vec_mapper.rs|15 col 33| warning: importing legacy numeric constants
--> framework/base/src/storage/mappers/vec_mapper.rs:15:33
|
15 | use core::{marker::PhantomData, usize};
| ^^^^^
|
= help: remove this import
= note: then usize::<CONST>
will resolve to the respective associated constant
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: #[warn(clippy::legacy_numeric_constants)]
on by default
framework/base/src/storage/mappers/vec_mapper.rs|15 col 33| warning: importing legacy numeric constants
--> framework/base/src/storage/mappers/vec_mapper.rs:15:33
|
15 | use core::{marker::PhantomData, usize};
| ^^^^^
|
= help: remove this import
= note: then usize::<CONST>
will resolve to the respective associated constant
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: #[warn(clippy::legacy_numeric_constants)]
on by default
Annotations
Check warning on line 111 in framework/scenario/tests/contract_without_macros.rs
github-actions / clippy
[clippy] framework/scenario/tests/contract_without_macros.rs#L111
warning: very complex type used. Consider factoring parts into `type` definitions
--> framework/scenario/tests/contract_without_macros.rs:111:14
|
111 | ) -> Tx<
| ______________^
112 | | TxScEnv<Self::Api>,
113 | | (),
114 | | Self::To,
... |
118 | | OriginalResultMarker<BigInt<Self::Api>>,
119 | | > {
| |_________^
|
= 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
Raw output
framework/scenario/tests/contract_without_macros.rs:111:14:w:warning: very complex type used. Consider factoring parts into `type` definitions
--> framework/scenario/tests/contract_without_macros.rs:111:14
|
111 | ) -> Tx<
| ______________^
112 | | TxScEnv<Self::Api>,
113 | | (),
114 | | Self::To,
... |
118 | | OriginalResultMarker<BigInt<Self::Api>>,
119 | | > {
| |_________^
|
= 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
__END__