Skip to content

added trie as attribute to context #144

added trie as attribute to context

added trie as attribute to context #144

GitHub Actions / clippy failed Oct 18, 2023 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.75.0-nightly (09df6108c 2023-10-17)
  • cargo 1.75.0-nightly (8eb8acbb1 2023-10-17)
  • clippy 0.1.75 (09df610 2023-10-17)

Annotations

Check failure on line 208 in solana/solana-ibc/programs/solana-ibc/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

value assigned to `trie` is never read

error: value assigned to `trie` is never read
   --> solana/solana-ibc/programs/solana-ibc/src/lib.rs:208:9
    |
208 |         trie = solana_real_storage.trie.unwrap();
    |         ^^^^
    |
    = help: maybe it is overwritten before being read?
    = note: `-D unused-assignments` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_assignments)]`

Check failure on line 4 in solana/solana-ibc/programs/solana-ibc/src/execution_context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `anchor_lang::prelude::borsh`

error: unused import: `anchor_lang::prelude::borsh`
 --> solana/solana-ibc/programs/solana-ibc/src/execution_context.rs:4:5
  |
4 | use anchor_lang::prelude::borsh;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`