diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-07-21 17:44:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-21 17:44:30 -0700 |
| commit | d484654a5ec3ade413205ec03e403fccae4937dc (patch) | |
| tree | c8353631fb11103c1b1f7ed3975e401c955d9cf4 /compiler/rustc_hir_analysis/src | |
| parent | b9c9f07db0705b9686a0b8a0aec03c887577211a (diff) | |
| parent | 8a49d83db730f3dfdd7f0c04df823549bf571b33 (diff) | |
| download | rust-d484654a5ec3ade413205ec03e403fccae4937dc.tar.gz rust-d484654a5ec3ade413205ec03e403fccae4937dc.zip | |
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``
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions
