Sign in
fuchsia
/
third_party
/
rust
/
6bce50f390bbdfca66966c26adec42b927670f4f
/
.
/
src
/
test
/
ui
/
async-await
/
issues
/
issue-63388-2.rs
blob: ca9bbef0d503d3d239ceefed134113aed5f62d83 [
file
] [
log
] [
blame
]
// edition:2018
#![
feature
(
async_await
)]
struct
Xyz
{
a
:
u64
,
}
trait
Foo
{}
impl
Xyz
{
async
fn
do_sth
<
'
a
>(
foo
:
&
dyn
Foo
,
bar
:
&
'
a dyn
Foo
//~ ERROR cannot infer
)
->
&
dyn
Foo
//~ ERROR missing lifetime specifier
{
foo
}
}
fn
main
()
{}