rust/compiler/rustc_mir_build
Jubilee d484654a5e
Rollup merge of #128033 - Nadrieril:explain-empty-wildcards, r=compiler-errors
Explain why we require `_` for empty patterns

This adds a note to the "non-exhaustive patterns" diagnostic to explain why we sometimes require extra `_` patterns on empty types. This is one of the two diagnostic improvements I wanted to do before [stabilizing `min_exhaustive_patterns`](https://github.com/rust-lang/rust/pull/122792).

r? ``@compiler-errors``
2024-07-21 17:44:30 -07:00
..
src Rollup merge of #128033 - Nadrieril:explain-empty-wildcards, r=compiler-errors 2024-07-21 17:44:30 -07:00
Cargo.toml const_to_pat: cleanup leftovers from when we had to deal with non-structural constants 2024-07-18 11:58:16 +02:00
messages.ftl avoid creating an Instance only to immediately disassemble it again 2024-07-18 11:58:16 +02:00