2021-11-04 12:52:36 +00:00
|
|
|
error: unsafe block missing a safety comment
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/crashes/auxiliary/ice-7868-aux.rs:2:5
|
2021-11-04 12:52:36 +00:00
|
|
|
|
|
|
|
|
LL | unsafe { 0 };
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
2022-04-07 17:39:59 +00:00
|
|
|
= help: consider adding a safety comment on the preceding line
|
2022-09-22 16:04:22 +00:00
|
|
|
= note: `-D clippy::undocumented-unsafe-blocks` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::undocumented_unsafe_blocks)]`
|
2021-11-04 12:52:36 +00:00
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-11-04 12:52:36 +00:00
|
|
|
|