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