diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-01 01:09:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 01:09:48 +0200 |
commit | 07726e3bf2cd7840628b8e3e686a885e9fba26b8 (patch) | |
tree | 119047ae54977dc78c62b7c67ba56d461d5c5da3 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 1b262b8b5660bc70530f647822b477a8d56e1f4e (diff) | |
parent | 84cb7ecbc1a54de37422a0bf3cc68987acb6610b (diff) | |
download | rust-07726e3bf2cd7840628b8e3e686a885e9fba26b8.tar.gz |
Rollup merge of #111015 - cjgillot:chained-let-and, r=compiler-errors
Remove wrong assertion in match checking.
This assertions is completely misguided, introduced by https://github.com/rust-lang/rust/pull/108504. The responsible PR is on beta, nominating for backport.
Instead of checking that this is not a `&&`, it would make sense to check that neither arms of that `&&` is a `let`. This seems like a lot of code for unclear benefit.
r? `@saethlin`
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions