fork/rust

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

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

master
1.5 KiB54 linesraw
1error: missing code example in this documentation
2  --> $DIR/lint-group.rs:19:1
3   |
4LL | /// wait, this doesn't have a doctest?
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/lint-group.rs:9:9
9   |
10LL | #![deny(rustdoc::missing_doc_code_examples)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: documentation test in private item
14  --> $DIR/lint-group.rs:22:1
15   |
16LL | / /// wait, this *does* have a doctest?
17LL | | ///
18LL | | /// ```
19LL | | /// println!("sup");
20LL | | /// ```
21   | |_______^
22   |
23note: the lint level is defined here
24  --> $DIR/lint-group.rs:10:9
25   |
26LL | #![deny(rustdoc::all)]
27   |         ^^^^^^^^^^^^
28   = note: `#[deny(rustdoc::private_doc_tests)]` implied by `#[deny(rustdoc::all)]`
29
30error: missing code example in this documentation
31  --> $DIR/lint-group.rs:29:1
32   |
33LL | /// <unknown>
34   | ^^^^^^^^^^^^^
35
36error: unresolved link to `error`
37  --> $DIR/lint-group.rs:12:29
38   |
39LL | /// what up, let's make an [error]
40   |                             ^^^^^ no item named `error` in scope
41   |
42   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
43   = note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(rustdoc::all)]`
44
45error: unclosed HTML tag `unknown`
46  --> $DIR/lint-group.rs:29:5
47   |
48LL | /// <unknown>
49   |     ^^^^^^^^^
50   |
51   = note: `#[deny(rustdoc::invalid_html_tags)]` implied by `#[deny(rustdoc::all)]`
52
53error: aborting due to 5 previous errors
54