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

9 lines
128 B
Rust

fn main() {
static TEST: i32 = 0;
let r: (i32, i32) = (0, 0);
match r {
TEST => {} //~ ERROR E0530
}
}