diff options
Diffstat (limited to 'tests/ui/async-await/issue-64130-2-send.rs')
| -rw-r--r-- | tests/ui/async-await/issue-64130-2-send.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/async-await/issue-64130-2-send.rs b/tests/ui/async-await/issue-64130-2-send.rs index 7a6e5952cb9..0195afe6b39 100644 --- a/tests/ui/async-await/issue-64130-2-send.rs +++ b/tests/ui/async-await/issue-64130-2-send.rs @@ -13,6 +13,7 @@ fn is_send<T: Send>(t: T) { } async fn bar() { let x = Foo; baz().await; + drop(x); } async fn baz() { } |
