update tests
This commit is contained in:
parent
13838a53fd
commit
4f82731bba
2 changed files with 38 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue