about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-09-11 15:53:20 -0700
committerGitHub <noreply@github.com>2024-09-11 15:53:20 -0700
commit6879ee6818992b85bd029a173977b935e9808c05 (patch)
tree4db637f3bde1739bdff12622aa462467aa9793d9 /compiler/rustc_codegen_llvm/src
parent8d6b88b168e45ee1624699c19443c49665322a91 (diff)
parent5b7be148ea0128daad309cf5a123c868a65d7737 (diff)
downloadrust-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