rust/compiler/rustc_mir_build/src
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
..
build Split {Idx, IndexVec, IndexSlice} into their own modules 2023-04-24 13:53:35 +00:00
thir Rollup merge of #111015 - cjgillot:chained-let-and, r=compiler-errors 2023-05-01 01:09:48 +02:00
check_unsafety.rs Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkin 2023-04-22 00:10:44 +00:00
errors.rs use matches! macro in more places 2023-04-16 12:08:30 +02:00
lib.rs Remove WithOptconstParam. 2023-04-20 17:48:32 +00:00
lints.rs Rename Abort terminator to Terminate 2023-04-06 09:34:16 +01:00