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