]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-ui/lint-group.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / rustdoc-ui / lint-group.stderr
CommitLineData
60c5eb7d 1error: documentation test in private item
0731742a
XL
2 --> $DIR/lint-group.rs:19:1
3 |
4LL | / /// wait, this *does* have a doctest?
5LL | | ///
6LL | | /// ```
7LL | | /// println!("sup");
8LL | | /// ```
9 | |_______^
10 |
11note: lint level defined here
12 --> $DIR/lint-group.rs:7:9
13 |
14LL | #![deny(rustdoc)]
15 | ^^^^^^^
416331ca 16 = note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]`
0731742a 17
60c5eb7d 18error: `[error]` cannot be resolved, ignoring it.
0731742a
XL
19 --> $DIR/lint-group.rs:9:29
20 |
21LL | /// what up, let's make an [error]
22 | ^^^^^ cannot be resolved, ignoring
23 |
24note: lint level defined here
25 --> $DIR/lint-group.rs:7:9
26 |
27LL | #![deny(rustdoc)]
28 | ^^^^^^^
416331ca 29 = note: `#[deny(intra_doc_link_resolution_failure)]` implied by `#[deny(rustdoc)]`
532ac7d7 30 = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
0731742a 31
60c5eb7d 32error: missing code example in this documentation
0731742a
XL
33 --> $DIR/lint-group.rs:16:1
34 |
35LL | /// wait, this doesn't have a doctest?
36 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 |
38note: lint level defined here
39 --> $DIR/lint-group.rs:7:9
40 |
41LL | #![deny(rustdoc)]
42 | ^^^^^^^
416331ca 43 = note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]`
0731742a 44
532ac7d7
XL
45error: aborting due to 3 previous errors
46