about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-17 11:43:55 +0900
committerGitHub <noreply@github.com>2020-12-17 11:43:55 +0900
commit1e1ba7c936ac3c83c3831b493ab138b7e180a0b6 (patch)
treedc63ed799378996f603eba917358f3cbdc27b42b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb32e6e6ac8921035177256ab6806e6ab0d4b9b94 (diff)
parent09172603685ba72f1cae4f69b6fff63f2dfcd27f (diff)
downloadrust-1e1ba7c936ac3c83c3831b493ab138b7e180a0b6.tar.gz
rust-1e1ba7c936ac3c83c3831b493ab138b7e180a0b6.zip
Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasper
Implement if-let match guards

Implements rust-lang/rfcs#2294 (tracking issue: #51114).

I probably should do a few more things before this can be merged:
- [x] Add tests (added basic tests, more advanced tests could be done in the future?)
- [x] Add lint for exhaustive if-let guard (comparable to normal if-let statements)
- [x] Fix clippy

However since this is a nightly feature maybe it's fine to land this and do those steps in follow-up PRs.

Thanks a lot `@matthewjasper` :heart: for helping me with lowering to MIR! Would you be interested in reviewing this?
r? `@ghost` for now
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions