2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2020-10-22 12:34:00 -05:00
|
|
|
#![allow(unused_imports, overlapping_range_endpoints)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-01-22 13:56:27 -06:00
|
|
|
use m::{START, END};
|
|
|
|
|
|
|
|
fn main() {
|
2015-03-03 02:42:26 -06:00
|
|
|
match 42 {
|
2018-05-28 21:42:11 -05:00
|
|
|
m::START..=m::END => {},
|
|
|
|
0..=m::END => {},
|
|
|
|
m::START..=59 => {},
|
2015-01-22 13:56:27 -06:00
|
|
|
_ => {},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mod m {
|
|
|
|
pub const START: u32 = 4;
|
|
|
|
pub const END: u32 = 14;
|
|
|
|
}
|