Skip to content

Mark identifiers used in format strings as used #12

Open

Description

@fenollp

Eg.

tx.try_send(Ok(res.clone())).map_err(|e|{
    error!("An error occurred while sending event to peer {e}");
}).is_ok()

today, warnalyzer complains:

unused Parameter 'e'


Versions used:

# rustc -Vv
rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: x86_64-unknown-linux-gnu
release: 1.81.0
LLVM version: 18.1.7

Activity

  1. est31 commented on Sep 27, 2024

    @est31
    Owner

    ahhh macros again... yeahm rust-analyzer has problems with those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions