Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
async-await
/
issues
/
issue-63388-1.rs
blob: 3cde5de2198806617d56e74727a0ca4795f6d38f [
file
] [
log
] [
blame
]
// edition:2018
struct
Xyz
{
a
:
u64
,
}
trait
Foo
{}
impl
Xyz
{
async
fn
do_sth
<
'
a
>(
&
'
a
self
,
foo
:
&
dyn
Foo
)
->
&
dyn
Foo
//~ ERROR lifetime mismatch
{
foo
}
}
fn
main
()
{}