Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark identifiers used in format strings as used #12

Open
fenollp opened this issue Sep 10, 2024 · 0 comments
Open

Mark identifiers used in format strings as used #12

fenollp opened this issue Sep 10, 2024 · 0 comments

Comments

@fenollp
Copy link

fenollp commented Sep 10, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant