Sign in
fuchsia
/
third_party
/
rust
/
846ea58cd5ae1c8d72e55dd6cf1ee35ffbca3d63
/
.
/
src
/
test
/
ui
/
nll
/
user-annotations
/
issue-54124.rs
blob: e1de67aa93869e292444b103989a342a06539a03 [
file
] [
log
] [
blame
]
#![
feature
(
nll
)]
fn
test
<
'
a
>()
{
let
_
:
fn
(&())
=
|
_
:&
'
a
()|
{};
//~ ERROR lifetime may not live long enough
//~^ ERROR lifetime may not live long enough
}
fn
main
()
{
test
();
}