mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
12 lines
292 B
Text
12 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
|
|
|