Skip to content

funds-manager: middleware: Add symmetric key auth for withdrawal #55

funds-manager: middleware: Add symmetric key auth for withdrawal

funds-manager: middleware: Add symmetric key auth for withdrawal #55

GitHub Actions / clippy failed Jul 24, 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 (3cbb93223 2024-03-13)
  • cargo 1.78.0-nightly (7065f0ef4 2024-03-12)
  • clippy 0.1.78 (3cbb932 2024-03-13)

Annotations

Check failure on line 35 in funds-manager/funds-manager-server/src/custody_client/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variants `FeeRedemption` and `RelayerGas` are never constructed

error: variants `FeeRedemption` and `RelayerGas` are never constructed
  --> funds-manager/funds-manager-server/src/custody_client/mod.rs:35:5
   |
31 | pub(crate) enum DepositWithdrawSource {
   |                 --------------------- variants in this enum
...
35 |     FeeRedemption,
   |     ^^^^^^^^^^^^^
36 |     /// A gas withdrawal
37 |     RelayerGas,
   |     ^^^^^^^^^^
   |
   = note: `DepositWithdrawSource` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`