3 const fn slice([a, b]: &[i32]) -> i32 { //~ ERROR refutable pattern in function argument
4 a + b //~ ERROR can only call other `const fn` within a `const fn`
5 //~^ ERROR use of possibly-uninitialized variable: `a`
6 //~| ERROR use of possibly-uninitialized variable: `b`