mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-03 18:09:42 +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`
|
|
}
|