2019-09-11 11:39:02 -05:00
|
|
|
error: unsafe function's docs miss `# Safety` section
|
2020-01-04 13:19:14 -06:00
|
|
|
--> $DIR/doc_unsafe.rs:7:1
|
2019-09-11 11:39:02 -05:00
|
|
|
|
|
|
|
|
LL | / pub unsafe fn destroy_the_planet() {
|
|
|
|
LL | | unimplemented!();
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::missing-safety-doc` implied by `-D warnings`
|
|
|
|
|
2019-10-02 10:19:30 -05:00
|
|
|
error: unsafe function's docs miss `# Safety` section
|
2020-01-04 13:19:14 -06:00
|
|
|
--> $DIR/doc_unsafe.rs:30:5
|
2019-10-02 10:19:30 -05:00
|
|
|
|
|
|
|
|
LL | / pub unsafe fn republished() {
|
|
|
|
LL | | unimplemented!();
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error: unsafe function's docs miss `# Safety` section
|
2020-01-04 13:19:14 -06:00
|
|
|
--> $DIR/doc_unsafe.rs:38:5
|
2019-10-02 10:19:30 -05:00
|
|
|
|
|
|
|
|
LL | unsafe fn woefully_underdocumented(self);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-09-28 11:37:11 -05:00
|
|
|
error: docs for unsafe trait missing `# Safety` section
|
2021-09-28 10:33:58 -05:00
|
|
|
--> $DIR/doc_unsafe.rs:44:1
|
|
|
|
|
|
|
|
|
LL | / pub unsafe trait UnsafeTrait {
|
|
|
|
LL | | fn method();
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
2019-10-02 10:19:30 -05:00
|
|
|
error: unsafe function's docs miss `# Safety` section
|
2021-09-28 10:33:58 -05:00
|
|
|
--> $DIR/doc_unsafe.rs:74:5
|
2019-10-02 10:19:30 -05:00
|
|
|
|
|
|
|
|
LL | / pub unsafe fn more_undocumented_unsafe() -> Self {
|
|
|
|
LL | | unimplemented!();
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
|
|
|
|
2020-01-04 13:19:14 -06:00
|
|
|
error: unsafe function's docs miss `# Safety` section
|
2021-09-28 10:33:58 -05:00
|
|
|
--> $DIR/doc_unsafe.rs:90:9
|
2020-01-04 13:19:14 -06:00
|
|
|
|
|
|
|
|
LL | / pub unsafe fn whee() {
|
|
|
|
LL | | unimplemented!()
|
|
|
|
LL | | }
|
|
|
|
| |_________^
|
|
|
|
...
|
|
|
|
LL | very_unsafe!();
|
|
|
|
| --------------- in this macro invocation
|
2020-02-06 21:34:06 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `very_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-01-04 13:19:14 -06:00
|
|
|
|
2021-09-28 10:33:58 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2019-09-11 11:39:02 -05:00
|
|
|
|