]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0530.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / error-codes / E0530.rs
1 fn main() {
2     static TEST: i32 = 0;
3
4     let r: (i32, i32) = (0, 0);
5     match r {
6         TEST => {} //~ ERROR E0530
7     }
8 }