FIX #21475: mixing literals and paths in interval

This commit is contained in:
defuz 2015-02-18 20:21:32 +02:00
parent 52fa187431
commit f84c25721e

View file

@ -13,9 +13,8 @@ use m::{START, END};
fn main() {
match 42u32 {
m::START...m::END => {},
// FIXME: Should also work (now: mismatched types in range [E0031])
// 0u32...m::END => {},
// m::START...59u32 => {},
0u32...m::END => {},
m::START...59u32 => {},
_ => {},
}
}