mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-04 02:20:04 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
413 B
Text
12 lines
413 B
Text
error: unsafe block missing a safety comment
|
|
--> $DIR/auxiliary/ice-7868-aux.rs:2:5
|
|
|
|
|
LL | unsafe { 0 };
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= help: consider adding a safety comment on the preceding line
|
|
= note: `-D clippy::undocumented-unsafe-blocks` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::undocumented_unsafe_blocks)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|