mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-25 20:43:18 +00:00
15 lines
353 B
Text
15 lines
353 B
Text
error: unsafe block missing a safety comment
|
|
--> $DIR/auxiliary/ice-7868-aux.rs:2:5
|
|
|
|
|
LL | unsafe { 0 };
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::undocumented-unsafe-blocks` implied by `-D warnings`
|
|
help: consider adding a safety comment
|
|
|
|
|
LL ~ // SAFETY: ...
|
|
LL ~ unsafe { 0 };
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|