Sign in
fuchsia
/
third_party
/
rust
/
728572440171d8d9c0557c89c3d71cc8d7cf6c2e
/
.
/
src
/
test
/
ui
/
nll
/
user-annotations
/
issue-54124.rs
blob: 042ad028575bbfdc5fa76d077227ca06cc59a48b [
file
] [
log
] [
blame
]
#![
feature
(
nll
)]
fn
test
<
'
a
>()
{
let
_
:
fn
(&())
=
|
_
:&
'
a
()|
{};
//~ ERROR unsatisfied lifetime constraints
//~^ ERROR unsatisfied lifetime constraints
}
fn
main
()
{
test
();
}