fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.9 KiB47 linesraw
1error: docs for function returning `Result` missing `# Errors` section
2  --> $DIR/doc_errors.rs:7:1
3   |
4LL | pub fn pub_fn_missing_errors_header() -> Result<(), ()> {
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: `-D clippy::missing-errors-doc` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::missing_errors_doc)]`
9
10error: docs for function returning `Result` missing `# Errors` section
11  --> $DIR/doc_errors.rs:13:1
12   |
13LL | pub async fn async_pub_fn_missing_errors_header() -> Result<(), ()> {
14   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
16error: docs for function returning `Result` missing `# Errors` section
17  --> $DIR/doc_errors.rs:19:1
18   |
19LL | pub fn pub_fn_returning_io_result() -> io::Result<()> {
20   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21
22error: docs for function returning `Result` missing `# Errors` section
23  --> $DIR/doc_errors.rs:25:1
24   |
25LL | pub async fn async_pub_fn_returning_io_result() -> io::Result<()> {
26   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27
28error: docs for function returning `Result` missing `# Errors` section
29  --> $DIR/doc_errors.rs:56:5
30   |
31LL |     pub fn pub_method_missing_errors_header() -> Result<(), ()> {
32   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33
34error: docs for function returning `Result` missing `# Errors` section
35  --> $DIR/doc_errors.rs:62:5
36   |
37LL |     pub async fn async_pub_method_missing_errors_header() -> Result<(), ()> {
38   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39
40error: docs for function returning `Result` missing `# Errors` section
41  --> $DIR/doc_errors.rs:113:5
42   |
43LL |     fn trait_method_missing_errors_header() -> Result<(), ()>;
44   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45
46error: aborting due to 7 previous errors
47