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