3 // [thir]compile-flags: -Z thir-unsafeck
11 async unsafe fn f() {}
15 //[mir]~^ ERROR call to unsafe function is unsafe
16 //[thir]~^^ ERROR call to unsafe function `S::f` is unsafe
18 //[mir]~^ ERROR call to unsafe function is unsafe
19 //[thir]~^^ ERROR call to unsafe function `f` is unsafe
23 S::f(); //[mir]~ ERROR call to unsafe function is unsafe
24 f(); //[mir]~ ERROR call to unsafe function is unsafe