]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/const_let_refutable.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / consts / const_let_refutable.rs
CommitLineData
0731742a
XL
1fn main() {}
2
74b04a01
XL
3const fn slice(&[a, b]: &[i32]) -> i32 {
4 //~^ ERROR refutable pattern in function argument
74b04a01 5 a + b
0731742a 6}