Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
async-await
/
issue-63832-await-short-temporary-lifetime.rs
blob: 3a1e10cf68e6c82d0a01396e3c8432c9f2655e5a [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
//@ edition:2018
async
fn
foo
(
x
:
&[
Vec
<
u32
>])
->
u32
{
0
}
async
fn
bar
()
{
foo
(&[
vec
![
123
]]).
await
;
}
fn
main
()
{
}