summary refs log tree commit diff
path: root/src/test/rustdoc-ui/lint-group.stderr
blob: 852c9120e0bf9ca141b9e7cbdca9369a74020965 (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
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: the lint level is defined here
  --> $DIR/lint-group.rs:7:9
   |
LL | #![deny(rustdoc)]
   |         ^^^^^^^
   = note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]`

error: `[error]` cannot be resolved, ignoring it.
  --> $DIR/lint-group.rs:9:29
   |
LL | /// what up, let's make an [error]
   |                             ^^^^^ cannot be resolved, ignoring
   |
note: the lint level is defined here
  --> $DIR/lint-group.rs:7:9
   |
LL | #![deny(rustdoc)]
   |         ^^^^^^^
   = note: `#[deny(intra_doc_link_resolution_failure)]` implied by `#[deny(rustdoc)]`
   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`

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)]
   |         ^^^^^^^
   = note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]`

error: aborting due to 3 previous errors