summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/lint-group.stderr
blob: e28600160b1fd56201cde0fc88501775fc3fd170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
error: missing code example in this documentation
  --> $DIR/lint-group.rs:16:1
   |
LL | /// wait, this doesn't have a doctest?
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/lint-group.rs:7:9
   |
LL | #![deny(rustdoc::all)]
   |         ^^^^^^^^^^^^
   = note: `#[deny(rustdoc::missing_doc_code_examples)]` implied by `#[deny(rustdoc::all)]`

error: documentation test in private item
  --> $DIR/lint-group.rs:19:1
   |
LL | / /// wait, this *does* have a doctest?
LL | | ///
LL | | /// ```
LL | | /// println!("sup");
LL | | /// ```
   | |_______^
   |
   = note: `#[deny(rustdoc::private_doc_tests)]` implied by `#[deny(rustdoc::all)]`

error: missing code example in this documentation
  --> $DIR/lint-group.rs:26:1
   |
LL | /// <unknown>
   | ^^^^^^^^^^^^^

error: unresolved link to `error`
  --> $DIR/lint-group.rs:9:29
   |
LL | /// what up, let's make an [error]
   |                             ^^^^^ no item named `error` in scope
   |
   = note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(rustdoc::all)]`
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unclosed HTML tag `unknown`
  --> $DIR/lint-group.rs:26:5
   |
LL | /// <unknown>
   |     ^^^^^^^^^
   |
   = note: `#[deny(rustdoc::invalid_html_tags)]` implied by `#[deny(rustdoc::all)]`

error: aborting due to 5 previous errors