Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
async-await
/
async-fn-elided-impl-lifetime-parameter.rs
blob: 1c369fd7415db7be6063a69615d62ee8ff96b6c7 [
file
] [
log
] [
blame
]
// Check that `async fn` inside of an impl with `'_`
// in the header compiles correctly.
//
// Regression test for #63500.
//
// check-pass
// edition:2018
struct
Foo
<
'a>(&'
a u8
);
impl
Foo
<
'
_
>
{
async
fn
bar
()
{}
}
fn
main
()
{
}