Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
issues
/
issue-40610.rs
blob: 104cf7f54e5f3d9251da736f88e9a68227e1988d [
file
] [
log
] [
blame
]
fn
f
(
_
:
&[
f32
])
{}
fn
main
()
{
()
+
f
(&[
1.0
]);
//~^ ERROR binary operation `+` cannot be applied to type `()`
}