mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
10 lines
203 B
Rust
10 lines
203 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');
|
|
}
|