]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/async-await/issues/issue-55809.rs
8 impl<'a
, T
> Foo
for &'a
mut T
where T
: Foo { }
10 async
fn foo_async
<T
>(_v
: T
) -> u8 where T
: Foo
{
14 async
fn bad
<T
>(v
: T
) -> u8 where T
: Foo
{
18 async
fn async_main() {
21 let _
= bad(&mut v
).await
;
22 let _
= foo_async(&mut v
).await
;