Sign in
fuchsia
/
third_party
/
rust
/
4ec9703467c6934bf0bc8be922f242226c32d0aa
/
.
/
src
/
test
/
ui
/
issues
/
issue-40861.rs
blob: d8a8384a544f8e676c365f221b1ced88171707a1 [
file
] [
log
] [
blame
]
fn
f
(
_
:
&[
f32
])
{}
fn
main
()
{
()[
f
(&[
1.0
])];
//~^ ERROR cannot index into a value of type `()`
}