]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/lint-group.stderr
Add test for invalid_html_tag lint in deny(rustdoc)
[rust.git] / src / test / rustdoc-ui / lint-group.stderr
1 error: missing code example in this documentation
2   --> $DIR/lint-group.rs:16: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:7:9
9    |
10 LL | #![deny(rustdoc)]
11    |         ^^^^^^^
12    = note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]`
13
14 error: documentation test in private item
15   --> $DIR/lint-group.rs:19:1
16    |
17 LL | / /// wait, this *does* have a doctest?
18 LL | | ///
19 LL | | /// ```
20 LL | | /// println!("sup");
21 LL | | /// ```
22    | |_______^
23    |
24 note: the lint level is defined here
25   --> $DIR/lint-group.rs:7:9
26    |
27 LL | #![deny(rustdoc)]
28    |         ^^^^^^^
29    = note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]`
30
31 error: missing code example in this documentation
32   --> $DIR/lint-group.rs:26:1
33    |
34 LL | /// <unknown>
35    | ^^^^^^^^^^^^^
36
37 error: unresolved link to `error`
38   --> $DIR/lint-group.rs:9:29
39    |
40 LL | /// what up, let's make an [error]
41    |                             ^^^^^ the module `lint_group` contains no item named `error`
42    |
43 note: the lint level is defined here
44   --> $DIR/lint-group.rs:7:9
45    |
46 LL | #![deny(rustdoc)]
47    |         ^^^^^^^
48    = note: `#[deny(broken_intra_doc_links)]` implied by `#[deny(rustdoc)]`
49    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
50
51 error: unclosed HTML tag `unknown`
52   --> $DIR/lint-group.rs:26:5
53    |
54 LL | /// <unknown>
55    |     ^^^^^^^^^
56    |
57 note: the lint level is defined here
58   --> $DIR/lint-group.rs:7:9
59    |
60 LL | #![deny(rustdoc)]
61    |         ^^^^^^^
62    = note: `#[deny(invalid_html_tags)]` implied by `#[deny(rustdoc)]`
63
64 error: aborting due to 5 previous errors
65