split kusama/polkadot runtimes #303
Open
GitHub Actions / clippy
succeeded
Jan 8, 2025 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check warning on line 611 in polkadot-parachains/integritee-kusama/src/lib.rs
github-actions / clippy
usage of a legacy numeric method
warning: usage of a legacy numeric method
--> polkadot-parachains/integritee-kusama/src/lib.rs:611:43
|
611 | pub const MaxBalance: Balance = Balance::max_value();
| ^^^^^^^^^^^
|
= 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
help: use the associated constant instead
|
611 | pub const MaxBalance: Balance = Balance::MAX;
| ~~~
Check warning on line 22 in polkadot-parachains/integritee-kusama/src/xcm_config.rs
github-actions / clippy
unused import: `EnsureRootOrMoreThanHalfCouncil`
warning: unused import: `EnsureRootOrMoreThanHalfCouncil`
--> polkadot-parachains/integritee-kusama/src/xcm_config.rs:22:55
|
22 | AccountId, AssetRegistry, Assets, Balance, Balances, EnsureRootOrMoreThanHalfCouncil,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Loading