]> git.lizzy.rs Git - rust.git/blob - tests/ui/doc_unsafe.stderr
Auto merge of #4539 - jolson88:cast-lossless-pedantic, r=flip1995
[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: aborting due to previous error
12