Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
async-await
/
issue-63832-await-short-temporary-lifetime.rs
blob: 3a1e10cf68e6c82d0a01396e3c8432c9f2655e5a [
file
] [
log
] [
blame
]
//@ check-pass
//@ edition:2018
async
fn
foo
(
x
:
&[
Vec
<
u32
>])
->
u32
{
0
}
async
fn
bar
()
{
foo
(&[
vec
![
123
]]).
await
;
}
fn
main
()
{
}