mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 03:23:33 +00:00
12 lines
411 B
Text
12 lines
411 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 previous error
|
|
|