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