diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-09-11 15:53:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-11 15:53:20 -0700 |
| commit | 6879ee6818992b85bd029a173977b935e9808c05 (patch) | |
| tree | 4db637f3bde1739bdff12622aa462467aa9793d9 /compiler/rustc_codegen_llvm/src | |
| parent | 8d6b88b168e45ee1624699c19443c49665322a91 (diff) | |
| parent | 5b7be148ea0128daad309cf5a123c868a65d7737 (diff) | |
| download | rust-6879ee6818992b85bd029a173977b935e9808c05.tar.gz rust-6879ee6818992b85bd029a173977b935e9808c05.zip | |
Rollup merge of #129103 - Nadrieril:dont-warn-empty-unreachable, r=compiler-errors
Don't warn empty branches unreachable for now The [stabilization](https://github.com/rust-lang/rust/pull/122792) of `min_exhaustive_patterns` updated the `unreachable_pattern` lint to trigger on empty arms too. This has caused some amount of churn, and imposes an unjoyful `#[allow(unreachable_patterns)]` onto library authors who want to stay backwards-compatible. While I think the lint should eventually cover these cases, for transition's sake I'd prefer to revert linting to what it was prior to stabilization, at least for now. Fixes https://github.com/rust-lang/rust/issues/129031. r? ``@compiler-errors``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
