Sign in
fuchsia
/
third_party
/
rust
/
upstream/beta
/
.
/
tests
/
ui
/
suggestions
/
type-ascription-instead-of-let.fixed
blob: 6a4f23b78207030b67b82857f0c12938052332c1 [
file
] [
log
] [
blame
]
//@ run-rustfix
fn fun
(
x
:
i32
)
->
i32
{
x
}
fn main
()
{
let
_closure_annotated
=
|
value
:
i32
|
->
i32
{
let
temp
:
i32
=
fun
(
5i32
);
//~^ ERROR expected identifier, found `:`
temp
+
value
+
1
};
}