Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade unified #1652

Closed
wants to merge 7 commits into from

cargo fmt

999b344
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

upgrade unified #1652

cargo fmt
999b344
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed May 29, 2024 in 1s

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

See this annotation in the file changed.

@github-actions 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__