Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
impl-trait
/
in-bindings
/
escaping-bound-var.stderr
blob: 640f6f3692797194166d1a86c18a4f9220210e83 [
file
] [
log
] [
blame
]
error
:
cannot capture late
-
bound lifetime
in
`impl Trait`
in
binding
-->
$DIR
/
escaping
-
bound
-
var
.
rs
:
12
:
52
|
LL
|
let
x
:
&
dyn
for
<
'a> Foo<'
a
,
Out
=
impl
Sized
+
'a> = &();
| -- lifetime defined here ^^
error: aborting due to 1 previous error