rust/compiler
Matthias Krüger 07726e3bf2
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`
2023-05-01 01:09:48 +02:00
..
2023-04-27 17:18:11 +00:00
2023-04-25 18:59:55 +01:00
2023-04-28 20:19:48 +02:00
2023-04-21 02:14:04 -07:00
2023-04-26 07:46:13 +02:00
2023-04-25 14:15:31 +08:00