Sign in
fuchsia
/
third_party
/
rust
/
97d936423c914c4e3402bfecfd6943e1edf23815
/
.
/
src
/
test
/
ui
/
closure-expected.rs
blob: 9b15a63da28d7e97dc6fa5efc046ae3c701e7acf [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
=
Some
(
1
);
let
y
=
x
.
or_else
(
4
);
//~^ ERROR expected a `std::ops::FnOnce<()>` closure, found `{integer}`
}