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