rust/tests/ui/crashes/auxiliary/ice-7868-aux.rs
2023-08-22 17:14:08 +02:00

6 lines
166 B
Rust

fn zero() {
unsafe { 0 };
//~^ ERROR: unsafe block missing a safety comment
//~| NOTE: `-D clippy::undocumented-unsafe-blocks` implied by `-D warnings`
}