1 error: docs for function returning `Result` missing `# Errors` section
2 --> $DIR/doc_errors.rs:6:1
4 LL | / pub fn pub_fn_missing_errors_header() -> Result<(), ()> {
5 LL | | unimplemented!();
9 = note: `-D clippy::missing-errors-doc` implied by `-D warnings`
11 error: docs for function returning `Result` missing `# Errors` section
12 --> $DIR/doc_errors.rs:10:1
14 LL | / pub async fn async_pub_fn_missing_errors_header() -> Result<(), ()> {
15 LL | | unimplemented!();
19 error: docs for function returning `Result` missing `# Errors` section
20 --> $DIR/doc_errors.rs:15:1
22 LL | / pub fn pub_fn_returning_io_result() -> io::Result<()> {
23 LL | | unimplemented!();
27 error: docs for function returning `Result` missing `# Errors` section
28 --> $DIR/doc_errors.rs:20:1
30 LL | / pub async fn async_pub_fn_returning_io_result() -> io::Result<()> {
31 LL | | unimplemented!();
35 error: docs for function returning `Result` missing `# Errors` section
36 --> $DIR/doc_errors.rs:50:5
38 LL | / pub fn pub_method_missing_errors_header() -> Result<(), ()> {
39 LL | | unimplemented!();
43 error: docs for function returning `Result` missing `# Errors` section
44 --> $DIR/doc_errors.rs:55:5
46 LL | / pub async fn async_pub_method_missing_errors_header() -> Result<(), ()> {
47 LL | | unimplemented!();
51 error: docs for function returning `Result` missing `# Errors` section
52 --> $DIR/doc_errors.rs:84:5
54 LL | fn trait_method_missing_errors_header() -> Result<(), ()>;
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
57 error: aborting due to 7 previous errors