clippy
2 errors, 2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.1 (3f5fd8dd4 2024-08-06)
- cargo 1.80.1 (376290515 2024-07-16)
- clippy 0.1.80 (3f5fd8d 2024-08-06)
Annotations
Check warning on line 33 in runtime/testnet/src/extensions.rs
github-actions / clippy
bound is defined in more than one place
warning: bound is defined in more than one place
--> runtime/testnet/src/extensions.rs:33:10
|
33 | fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError>
| ^
34 | where
35 | E: Ext<T = T>,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `#[warn(clippy::multiple_bound_locations)]` on by default
Check failure on line 447 in runtime/testnet/src/lib.rs
github-actions / clippy
type `SlotDuration` is not a member of trait `pallet_aura::Config`
error[E0437]: type `SlotDuration` is not a member of trait `pallet_aura::Config`
--> runtime/testnet/src/lib.rs:447:2
|
447 | type SlotDuration = ConstU64<SLOT_DURATION>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `pallet_aura::Config`
Check warning on line 33 in runtime/devnet/src/extensions.rs
github-actions / clippy
bound is defined in more than one place
warning: bound is defined in more than one place
--> runtime/devnet/src/extensions.rs:33:10
|
33 | fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError>
| ^
34 | where
35 | E: Ext<T = T>,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `#[warn(clippy::multiple_bound_locations)]` on by default
Check failure on line 444 in runtime/devnet/src/lib.rs
github-actions / clippy
type `SlotDuration` is not a member of trait `pallet_aura::Config`
error[E0437]: type `SlotDuration` is not a member of trait `pallet_aura::Config`
--> runtime/devnet/src/lib.rs:444:2
|
444 | type SlotDuration = ConstU64<SLOT_DURATION>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `pallet_aura::Config`