about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-01 01:09:48 +0200
committerGitHub <noreply@github.com>2023-05-01 01:09:48 +0200
commit07726e3bf2cd7840628b8e3e686a885e9fba26b8 (patch)
tree119047ae54977dc78c62b7c67ba56d461d5c5da3 /compiler/rustc_codegen_llvm/src/errors.rs
parent1b262b8b5660bc70530f647822b477a8d56e1f4e (diff)
parent84cb7ecbc1a54de37422a0bf3cc68987acb6610b (diff)
downloadrust-07726e3bf2cd7840628b8e3e686a885e9fba26b8.tar.gz
rust-07726e3bf2cd7840628b8e3e686a885e9fba26b8.zip
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 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions