mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +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`
|
|
}
|