mozilla/rust — pull request #6245 by youknowone (2013-05-05 02:05:37+00:00)
Title: Allow non-literal static range pattern for match arms

Fix unintended error problem of:

static s: int = 1;
static e: int = 42;

fn main() {
match 7 {
s..e => (),
^~ error: expected `=>` but found `..`
_ => (),
}
}