2019-09-11 18:39:02 +02:00
|
|
|
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`
|
|
|
|
|
2019-10-02 17:19:30 +02:00
|
|
|
error: unsafe function's docs miss `# Safety` section
|
|
|
|
--> $DIR/doc_unsafe.rs:25:5
|
|
|
|
|
|
|
|
|
LL | / pub unsafe fn republished() {
|
|
|
|
LL | | unimplemented!();
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error: unsafe function's docs miss `# Safety` section
|
|
|
|
--> $DIR/doc_unsafe.rs:33:5
|
|
|
|
|
|
|
|
|
LL | unsafe fn woefully_underdocumented(self);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: unsafe function's docs miss `# Safety` section
|
|
|
|
--> $DIR/doc_unsafe.rs:52:5
|
|
|
|
|
|
|
|
|
LL | / pub unsafe fn more_undocumented_unsafe() -> Self {
|
|
|
|
LL | | unimplemented!();
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2019-09-11 18:39:02 +02:00
|
|
|
|