rust/tests/ui/crashes/auxiliary/ice-7868-aux.rs

6 lines
166 B
Rust
Raw Normal View History

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