Skip to content

fast-bridge: Emit events for each method. #1701

fast-bridge: Emit events for each method.

fast-bridge: Emit events for each method. #1701

GitHub Actions / clippy failed Aug 26, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.78.0-nightly (268dbbbc4 2024-02-04)
  • cargo 1.78.0-nightly (7bb7b5395 2024-01-20)
  • clippy 0.1.77 (268dbbb 2024-02-04)

Annotations

Check failure on line 117 in solana/bridge-escrow/programs/bridge-escrow/src/events.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this lifetime isn't used in the function definition

error: this lifetime isn't used in the function definition
   --> solana/bridge-escrow/programs/bridge-escrow/src/events.rs:117:13
    |
117 | pub fn emit<'a>(event: impl Into<Event>) -> Result<(), String> {
    |             ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
    = note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::extra_unused_lifetimes)]`