Skip to content

ignored broken field and created issue

Sign in for the full log view
GitHub Actions / Clippy (MSRV) failed Mar 4, 2025 in 1s

Clippy (MSRV)

1 error

Details

Results

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

Versions

  • rustc 1.85.0 (4d91de4e4 2025-02-17)
  • cargo 1.85.0 (d73d2caf9 2024-12-31)
  • clippy 0.1.85 (4d91de4e48 2025-02-17)

Annotations

Check failure on line 141 in integration-tests/tests/state_service.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

this creates an owned instance just for comparison

error: this creates an owned instance just for comparison
   --> integration-tests/tests/state_service.rs:141:37
    |
141 |     if dbg!(network.to_string()) == "Regtest".to_string() {
    |                                     ^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Regtest"`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
    = note: `-D clippy::cmp-owned` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::cmp_owned)]`