]> git.lizzy.rs Git - rust.git/blob - tests/ui/doc_unsafe.stderr
Merge remote-tracking branch 'upstream/rust-1.36.0' into backport_merge
[rust.git] / tests / ui / doc_unsafe.stderr
1 error: unsafe function's docs miss `# Safety` section
2   --> $DIR/doc_unsafe.rs:2:1
3    |
4 LL | / pub unsafe fn destroy_the_planet() {
5 LL | |     unimplemented!();
6 LL | | }
7    | |_^
8    |
9    = note: `-D clippy::missing-safety-doc` implied by `-D warnings`
10
11 error: unsafe function's docs miss `# Safety` section
12   --> $DIR/doc_unsafe.rs:25:5
13    |
14 LL | /     pub unsafe fn republished() {
15 LL | |         unimplemented!();
16 LL | |     }
17    | |_____^
18
19 error: unsafe function's docs miss `# Safety` section
20   --> $DIR/doc_unsafe.rs:33:5
21    |
22 LL |     unsafe fn woefully_underdocumented(self);
23    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error: unsafe function's docs miss `# Safety` section
26   --> $DIR/doc_unsafe.rs:52:5
27    |
28 LL | /     pub unsafe fn more_undocumented_unsafe() -> Self {
29 LL | |         unimplemented!();
30 LL | |     }
31    | |_____^
32
33 error: aborting due to 4 previous errors
34