Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
closures
/
binder
/
implicit-return.rs
blob: 9889d055a36619c430b580347abef71c305181ec [
file
] [
log
] [
blame
]
#![
feature
(
closure_lifetime_binder
)]
fn
main
()
{
let
_f
=
for
<
'a> |_: &'
a
()|
{};
//~^ ERROR implicit types in closure signatures are forbidden when `for<...>` is present
}