fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
1.3 KiB46 linesraw
1error: documentation test in private item
2  --> $DIR/lint-group.rs:19:1
3   |
4LL | / /// wait, this *does* have a doctest?
5LL | | ///
6LL | | /// ```
7LL | | /// println!("sup");
8LL | | /// ```
9   | |_______^
10   |
11note: the lint level is defined here
12  --> $DIR/lint-group.rs:7:9
13   |
14LL | #![deny(rustdoc)]
15   |         ^^^^^^^
16   = note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]`
17
18error: `[error]` cannot be resolved, ignoring it.
19  --> $DIR/lint-group.rs:9:29
20   |
21LL | /// what up, let's make an [error]
22   |                             ^^^^^ cannot be resolved, ignoring
23   |
24note: the lint level is defined here
25  --> $DIR/lint-group.rs:7:9
26   |
27LL | #![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
32error: missing code example in this documentation
33  --> $DIR/lint-group.rs:16:1
34   |
35LL | /// wait, this doesn't have a doctest?
36   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37   |
38note: the lint level is defined here
39  --> $DIR/lint-group.rs:7:9
40   |
41LL | #![deny(rustdoc)]
42   |         ^^^^^^^
43   = note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]`
44
45error: aborting due to 3 previous errors
46