mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
13 lines
292 B
Plaintext
13 lines
292 B
Plaintext
![]() |
error: unsafe function's docs miss `# Safety` section
|
||
|
--> $DIR/doc_unsafe.rs:2:1
|
||
|
|
|
||
|
LL | / pub unsafe fn destroy_the_planet() {
|
||
|
LL | | unimplemented!();
|
||
|
LL | | }
|
||
|
| |_^
|
||
|
|
|
||
|
= note: `-D clippy::missing-safety-doc` implied by `-D warnings`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|