diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-05-21 18:55:12 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-05-21 19:05:37 -0700 |
| commit | 3a21fb5cec07052cb664b6a051e233cd4776283a (patch) | |
| tree | fb82096b6c12d50619bab73dd6520f72023a08d0 /tests/ui/async-await/async-is-unwindsafe.rs | |
| parent | 39e02f1bd1e53d009da382654139f7c0639172a8 (diff) | |
| download | rust-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.rs | 1 |
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 { |
