mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +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`
|
|
}
|