1
Fork 0

update tests

This commit is contained in:
Justin Karneges 2024-03-29 14:27:13 -07:00
parent 13838a53fd
commit 4f82731bba
2 changed files with 38 additions and 6 deletions

View file

@ -11,6 +11,7 @@ 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 {