proc_macro_unsafe::unsafe_block!(token);
}
+fn in_closure(x: *const u32) {
+ // Safety: reason
+ let _ = || unsafe { *x };
+}
+
// Invalid comments
#[rustfmt::skip]
#[rustfmt::skip]
mod sub_mod2 {
- //
+ //
// SAFETY: ok
- //
+ //
unsafe impl B for (u32) {}
unsafe trait B {}