Sign in
rust
/
rust
/
4dfd30ec844e10b8993deebb908fddff25c2ef26
/
.
/
tests
/
ui
/
consts
/
const_let_refutable.rs
blob: efb134d2eef1ad5049c235ca0ff318bd26e65eb5 [
file
]
fn
main
()
{}
const
fn
slice
(&[
a
,
b
]:
&[
i32
])
->
i32
{
//~^ ERROR refutable pattern in function argument
a
+
b
}