]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0527.rs
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[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 }