Inherents and empty block production overhaul #269
Annotations
3 errors
cargo clippy:
core/src/common/empty_block/production.rs#L22
error: bound is defined in more than one place
--> core/src/common/empty_block/production.rs:22:25
|
22 | pub async fn mine_block<Block: BlockT, HostFns: HostFunctions>(
| ^^^^^
...
31 | Block: BlockT<Hash = H256> + DeserializeOwned,
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `-D clippy::multiple-bound-locations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::multiple_bound_locations)]`
|
cargo clippy:
core/src/common/empty_block/production.rs#L86
error: bound is defined in more than one place
--> core/src/common/empty_block/production.rs:86:33
|
86 | pub async fn produce_next_block<Block: BlockT, HostFns: HostFunctions>(
| ^^^^^
...
94 | Block: BlockT<Hash = H256> + DeserializeOwned,
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
|
cargo clippy
Clippy had exited with the 101 exit code
|
Loading