about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-28 05:33:57 +0000
committerbors <bors@rust-lang.org>2021-09-28 05:33:57 +0000
commitcbf27d076266b6f60ce983f080ef3f36de1106dc (patch)
tree615772ed24f953ebcfc8a5e95ef9d84a183b5f65 /compiler/rustc_codegen_llvm/src
parent0c8799da5aabf72aee26053075d2bd73ef9f7789 (diff)
parent13834e6ad2294a95c664aca2acaedb1a9619773f (diff)
downloadrust-cbf27d076266b6f60ce983f080ef3f36de1106dc.tar.gz
rust-cbf27d076266b6f60ce983f080ef3f36de1106dc.zip
Auto merge of #7608 - andrewpollack:7594/while_let_some_result, r=Manishearth
#7594: Adding new 'while_let_some_result' linting

Excited for the opportunity to contribute to Clippy! Since the latest Bay Area Rust Meetup, I've been looking for an opportunity and found it :smile:

Please let me know how I can improve this PR! Much of it is similar to ``[`if_let_some_result`]``, but I followed the description in the issue to create its own linting rules. Looking forward to feedback, and continuing to work on Clippy in the future!

changelog: Renamed Lint: `if_let_some_result` is now called [`match_result_ok`]. Now also handles `while let` case.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions