Sign in
rust
/
rust
/
6ea369cfee9420f6fe3f89e4bff7b01ac0ef920d
/
.
/
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
}