rust/compiler/rustc_pattern_analysis/src
Matthias Krüger 44bd2b5166
Rollup merge of #121987 - Nadrieril:abort-on-arity-mismatch, r=compiler-errors
pattern analysis: abort on arity mismatch

This is one more PR replacing panics by `Err()` aborts. I recently audited all the `unwrap()` calls, but I had forgotten about array accesses. (Again [discovered by rust-analyzer](https://github.com/rust-lang/rust-analyzer/issues/16746)).

r? ```@compiler-errors```
2024-03-05 06:40:33 +01:00
..
constructor.rs Rollup merge of #121000 - Nadrieril:keep_all_fields, r=compiler-errors 2024-02-29 17:08:37 +01:00
errors.rs Rename SubdiagnosticMessageOp as SubdiagMessageOp. 2024-03-05 12:14:49 +11:00
lib.rs Add new pattern_complexity attribute to add possibility to limit and check recursion in pattern matching 2024-03-03 13:10:15 +01:00
lints.rs Remove dead args from functions 2024-02-02 22:47:26 +00:00
pat_column.rs Rollup merge of #120331 - Nadrieril:no-arena, r=compiler-errors 2024-02-06 22:45:40 +01:00
pat.rs Rename Skip to PrivateUninhabited 2024-02-28 17:56:01 +01:00
rustc.rs Add new pattern_complexity attribute to add possibility to limit and check recursion in pattern matching 2024-03-03 13:10:15 +01:00
usefulness.rs Abort on arity mismatch 2024-03-04 19:35:33 +01:00