mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
10 lines
205 B
Rust
10 lines
205 B
Rust
//@ edition:2021
|
|
//@ check-pass
|
|
//
|
|
// Regression test for issue #84429
|
|
// Tests that we can properly invoke `matches!` from a 2021-edition crate.
|
|
|
|
fn main() {
|
|
let _b = matches!(b'3', b'0' ..= b'9');
|
|
}
|