]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: docs for function returning `Result` missing `# Errors` section |
2 | --> $DIR/doc_errors.rs:8:1 | |
3 | | | |
4 | LL | / pub fn pub_fn_missing_errors_header() -> Result<(), ()> { | |
5 | LL | | unimplemented!(); | |
6 | LL | | } | |
7 | | |_^ | |
8 | | | |
9 | = note: `-D clippy::missing-errors-doc` implied by `-D warnings` | |
10 | ||
11 | error: docs for function returning `Result` missing `# Errors` section | |
12 | --> $DIR/doc_errors.rs:12:1 | |
13 | | | |
14 | LL | / pub async fn async_pub_fn_missing_errors_header() -> Result<(), ()> { | |
15 | LL | | unimplemented!(); | |
16 | LL | | } | |
17 | | |_^ | |
18 | ||
19 | error: docs for function returning `Result` missing `# Errors` section | |
20 | --> $DIR/doc_errors.rs:17:1 | |
21 | | | |
22 | LL | / pub fn pub_fn_returning_io_result() -> io::Result<()> { | |
23 | LL | | unimplemented!(); | |
24 | LL | | } | |
25 | | |_^ | |
26 | ||
27 | error: docs for function returning `Result` missing `# Errors` section | |
28 | --> $DIR/doc_errors.rs:22:1 | |
29 | | | |
30 | LL | / pub async fn async_pub_fn_returning_io_result() -> io::Result<()> { | |
31 | LL | | unimplemented!(); | |
32 | LL | | } | |
33 | | |_^ | |
34 | ||
35 | error: docs for function returning `Result` missing `# Errors` section | |
36 | --> $DIR/doc_errors.rs:52:5 | |
37 | | | |
38 | LL | / pub fn pub_method_missing_errors_header() -> Result<(), ()> { | |
39 | LL | | unimplemented!(); | |
40 | LL | | } | |
41 | | |_____^ | |
42 | ||
43 | error: docs for function returning `Result` missing `# Errors` section | |
44 | --> $DIR/doc_errors.rs:57:5 | |
45 | | | |
46 | LL | / pub async fn async_pub_method_missing_errors_header() -> Result<(), ()> { | |
47 | LL | | unimplemented!(); | |
48 | LL | | } | |
49 | | |_____^ | |
50 | ||
51 | error: docs for function returning `Result` missing `# Errors` section | |
52 | --> $DIR/doc_errors.rs:86:5 | |
53 | | | |
54 | LL | fn trait_method_missing_errors_header() -> Result<(), ()>; | |
55 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
56 | ||
57 | error: aborting due to 7 previous errors | |
58 |