about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2025-09-17 15:03:50 +0000
committerGitHub <noreply@github.com>2025-09-17 15:03:50 +0000
commit55570c9b257c8f2ae710d701ad03f924aed78cca (patch)
tree5864076a1233245962b0dd541237c66c439616a7 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentf37b9c05ef865918552e505265be71f69ce25ddb (diff)
parent19e5286c806978e094328559d172f9d7e4e8885f (diff)
downloadrust-55570c9b257c8f2ae710d701ad03f924aed78cca.tar.gz
rust-55570c9b257c8f2ae710d701ad03f924aed78cca.zip
Fix `unnecessary_unwrap` false negative (#12295) (#15689)
Fix `unnecessary_unwrap` false negative when unwrapping a known value
inside a macro call

Fixes rust-lang/rust-clippy#12295
Produces no changes to `lintcheck`

changelog: [`unnecessary_unwrap`]: Fix false negative when unwrapping a
known value inside a macro call

I made sue to run `cargo dev fmt`.
I also ran the following checks (in order) on a fresh clone of mi fork:
1. `cargo build`
2. `cargo test`
3. `cargo lintcheck`

Running `cargo test` after `lintcheck` causes a test to fail, but this
also happens on a clean fork without my changes
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions