mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
13 lines
292 B
Text
13 lines
292 B
Text
|
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
|
||
|
|