mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
5 lines
166 B
Rust
5 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`
|
|
}
|