about summary refs log tree commit diff
path: root/tests/ui/async-await/async-is-unwindsafe.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-05-21 18:55:12 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-05-21 19:05:37 -0700
commit3a21fb5cec07052cb664b6a051e233cd4776283a (patch)
treefb82096b6c12d50619bab73dd6520f72023a08d0 /tests/ui/async-await/async-is-unwindsafe.rs
parent39e02f1bd1e53d009da382654139f7c0639172a8 (diff)
downloadrust-3a21fb5cec07052cb664b6a051e233cd4776283a.tar.gz
rust-3a21fb5cec07052cb664b6a051e233cd4776283a.zip
Wrap Context.ext in AssertUnwindSafe
Diffstat (limited to 'tests/ui/async-await/async-is-unwindsafe.rs')
-rw-r--r--tests/ui/async-await/async-is-unwindsafe.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/async-await/async-is-unwindsafe.rs b/tests/ui/async-await/async-is-unwindsafe.rs
index d0202f72f00..53009b6e741 100644
--- a/tests/ui/async-await/async-is-unwindsafe.rs
+++ b/tests/ui/async-await/async-is-unwindsafe.rs
@@ -11,7 +11,6 @@ fn main() {
 
     is_unwindsafe(async {
         //~^ ERROR the type `&mut Context<'_>` may not be safely transferred across an unwind boundary
-        //~| ERROR the type `&mut (dyn Any + 'static)` may not be safely transferred across an unwind boundary
         use std::ptr::null;
         use std::task::{Context, RawWaker, RawWakerVTable, Waker};
         let waker = unsafe {