Skip to content

header fix

header fix #1179

GitHub Actions / clippy failed Aug 28, 2023 in 1s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.69.0 (84c898d65 2023-04-16)
  • cargo 1.69.0 (6e9a83356 2023-04-12)
  • clippy 0.1.69 (84c898d 2023-04-16)

Annotations

Check failure on line 109 in runtime/shibuya/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated function `initiate_reserve_withdraw` is never used

error: associated function `initiate_reserve_withdraw` is never used
   --> runtime/shibuya/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs:109:16
    |
109 |     pub(crate) fn initiate_reserve_withdraw() -> Weight {
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D dead-code` implied by `-D warnings`

Check failure on line 66 in runtime/shibuya/src/weights/xcm/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `asset`

error: unused variable: `asset`
  --> runtime/shibuya/src/weights/xcm/mod.rs:66:58
   |
66 |         assets.inner().iter().fold(Weight::zero(), |acc, asset| {
   |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_asset`
   |
   = note: `-D unused-variables` implied by `-D warnings`