]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0527.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / test / ui / error-codes / E0527.rs
1 fn main() {
2     let r = &[1, 2, 3, 4];
3     match r {
4         &[a, b] => {
5             //~^ ERROR E0527
6             println!("a={}, b={}", a, b);
7         }
8     }
9 }