fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unsafe function's docs miss `# Safety` section 2 --> $DIR/doc_unsafe.rs:9:1 3 | 4LL | pub unsafe fn destroy_the_planet() { 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: `-D clippy::missing-safety-doc` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::missing_safety_doc)]` 9 10error: unsafe function's docs miss `# Safety` section 11 --> $DIR/doc_unsafe.rs:32:5 12 | 13LL | pub unsafe fn republished() { 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 16error: unsafe function's docs miss `# Safety` section 17 --> $DIR/doc_unsafe.rs:40:5 18 | 19LL | unsafe fn woefully_underdocumented(self); 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 22error: docs for unsafe trait missing `# Safety` section 23 --> $DIR/doc_unsafe.rs:46:1 24 | 25LL | pub unsafe trait UnsafeTrait { 26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 27 28error: unsafe function's docs miss `# Safety` section 29 --> $DIR/doc_unsafe.rs:76:5 30 | 31LL | pub unsafe fn more_undocumented_unsafe() -> Self { 32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 33 34error: unsafe function's docs miss `# Safety` section 35 --> $DIR/doc_unsafe.rs:92:9 36 | 37LL | pub unsafe fn whee() { 38 | ^^^^^^^^^^^^^^^^^^^^ 39... 40LL | very_unsafe!(); 41 | -------------- in this macro invocation 42 | 43 = note: this error originates in the macro `very_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) 44 45error: aborting due to 6 previous errors 46