Fixed test
This commit is contained in:
parent
0276068255
commit
175a6421b2
@ -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
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user