Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
19 lines
300 B
Rust
19 lines
300 B
Rust
//@ run-pass
|
|
#![allow(unused_imports, overlapping_range_endpoints)]
|
|
|
|
use m::{START, END};
|
|
|
|
fn main() {
|
|
match 42 {
|
|
m::START..=m::END => {},
|
|
0..=m::END => {},
|
|
m::START..=59 => {},
|
|
_ => {},
|
|
}
|
|
}
|
|
|
|
mod m {
|
|
pub const START: u32 = 4;
|
|
pub const END: u32 = 14;
|
|
}
|