Wrong compiler warning with exclusive_range_pattern feature #43253
Labels
F-exclusive_range_pattern
`#![feature(exclusive_range_pattern)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
With rust nightly compiler, the result on the screen is
11
even though the compiler warning that 11 case is unreachable.Link to rust playground: https://play.rust-lang.org/?gist=a3c8f0a3cfa3209a52992aedf9220720&version=nightly
The text was updated successfully, but these errors were encountered: