summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/unsend-future.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/unsend-future.rs')
-rw-r--r--tests/ui/traits/unsend-future.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/traits/unsend-future.rs b/tests/ui/traits/unsend-future.rs
index fbbc07b11..a8367573f 100644
--- a/tests/ui/traits/unsend-future.rs
+++ b/tests/ui/traits/unsend-future.rs
@@ -13,6 +13,7 @@ fn require_handler<H: Handler>(h: H) {}
async fn handler() {
let a = &1 as *const i32;
async {}.await;
+ let b = a;
}
fn main() {