Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
block-result
/
issue-20862.rs
blob: e435fd7aee9e8650236590ccdae838c762a5722e [
file
] [
log
] [
blame
]
fn
foo
(
x
:
i32
)
{
|
y
|
x
+
y
//~^ ERROR: mismatched types
}
fn
main
()
{
let
x
=
foo
(
5
)(
2
);
//~^ ERROR: expected function, found `()`
}