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');
|
|
}
|