about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-06 18:07:56 +0000
committerbors <bors@rust-lang.org>2022-04-06 18:07:56 +0000
commit409a936f3b65db06bf0a9d167afcdc7bfafad47f (patch)
treeba3e482bb4d5f15708ad446d61e68833452de57b /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent81e004aadb8ccb3e4be1bfc22bc4ab5993414e86 (diff)
parenta7125b0393c70c3d25feb7e063c312463694a1f6 (diff)
downloadrust-409a936f3b65db06bf0a9d167afcdc7bfafad47f.tar.gz
rust-409a936f3b65db06bf0a9d167afcdc7bfafad47f.zip
Auto merge of #8606 - InfRandomness:err()-expect()-lint, r=xFrednet
Add [`err_expect`] lint

[`expect_err`] lint

- \[ ] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

Fixes https://github.com/rust-lang/rust-clippy/issues/1435

changelog: Added a lint to detect usage of .err().expect()
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions