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