about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-02 12:32:36 +0000
committerbors <bors@rust-lang.org>2022-09-02 12:32:36 +0000
commit4f8153e4a543d00126b402c24e9c119d8c76e74b (patch)
treef5d193f86cb913523a82d741ac5d9381aefe2661 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent412d614cf18a0696c87142f43c9ac46cb9d2ed0e (diff)
parentffd79c28879d102baf8adcee8f2603ab98c5852d (diff)
downloadrust-4f8153e4a543d00126b402c24e9c119d8c76e74b.tar.gz
rust-4f8153e4a543d00126b402c24e9c119d8c76e74b.zip
Auto merge of #13167 - iDawer:exhaustive_patterns, r=Veykril
feat: Implement `feature(exhaustive_patterns)` from unstable Rust

Closes #12753

Recognize Rust's unstable `#![feature(exhaustive_patterns)]` (RFC 1872). Allow omitting visibly uninhabited variants from `match` expressions when the feature is on.

This adjusts match checking to the current implementation of the postponed RFC 1872 in rustc.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions