rust/tests/ui/error-codes/E0530.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
128 B
Rust
Raw Normal View History

2016-08-30 11:13:37 +00:00
fn main() {
static TEST: i32 = 0;
let r: (i32, i32) = (0, 0);
match r {
TEST => {} //~ ERROR E0530
}
}