Fixed test

This commit is contained in:
christopherdumas 2015-09-11 11:53:45 -07:00
parent 0276068255
commit 175a6421b2

View File

@ -11,6 +11,8 @@
fn main() {
let x = 0;
match 1 {
0 ... x => {} //~ ERROR non-constant path in constant expr
0 ... x => {}
//~^ ERROR non-constant path in constant expr
//~| ERROR paths in constants may only refer to constants or functions
};
}