Sign in
◑
Theme
rust
/
rust
/
aed54f219eccbd4f3cb3ecd89acdc0d9eeb2bceb
/
.
/
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
}