3 // [thir]compile-flags: -Z thir-unsafeck
5 #![deny(unused_unsafe)]
9 unsafe { async {}.await; } //~ ERROR unnecessary `unsafe`
12 // `format_args!` expands with a compiler-generated unsafe block
13 unsafe { println!("foo"); } //~ ERROR unnecessary `unsafe`