]>
Commit | Line | Data |
---|---|---|
0731742a XL |
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 | | ^^^^^^^ | |
416331ca | 16 | = note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]` |
0731742a XL |
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 | | ^^^^^^^ | |
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 XL |
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 | | ^^^^^^^ | |
416331ca | 43 | = note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]` |
0731742a | 44 | |
532ac7d7 XL |
45 | error: aborting due to 3 previous errors |
46 |