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