1 error: unsafe function's docs miss `# Safety` section
2 --> $DIR/doc_unsafe.rs:7:1
4 LL | / pub unsafe fn destroy_the_planet() {
5 LL | | unimplemented!();
9 = note: `-D clippy::missing-safety-doc` implied by `-D warnings`
11 error: unsafe function's docs miss `# Safety` section
12 --> $DIR/doc_unsafe.rs:30:5
14 LL | / pub unsafe fn republished() {
15 LL | | unimplemented!();
19 error: unsafe function's docs miss `# Safety` section
20 --> $DIR/doc_unsafe.rs:38:5
22 LL | unsafe fn woefully_underdocumented(self);
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 error: unsafe function's docs miss `# Safety` section
26 --> $DIR/doc_unsafe.rs:57:5
28 LL | / pub unsafe fn more_undocumented_unsafe() -> Self {
29 LL | | unimplemented!();
33 error: unsafe function's docs miss `# Safety` section
34 --> $DIR/doc_unsafe.rs:73:9
36 LL | / pub unsafe fn whee() {
37 LL | | unimplemented!()
42 | --------------- in this macro invocation
44 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
46 error: aborting due to 5 previous errors