about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
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
commit286e492343239c7dc90fa1b44316ef5d8be6aad5 (patch)
tree508d26106aa85d13cbc00a375ce80517641c34b9 /src/test/codegen/src-hash-algorithm
parent39aca5ff9f5317fa1a66eb71772219575e05ba0f (diff)
parent93c6135c153cdb67a7c39c671d85a76576a081b6 (diff)
downloadrust-286e492343239c7dc90fa1b44316ef5d8be6aad5.tar.gz
rust-286e492343239c7dc90fa1b44316ef5d8be6aad5.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 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions