+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: documentation test in private item
--> $DIR/lint-group.rs:19:1
|
| ^^^^^^^
= note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]`
-error: `[error]` cannot be resolved, ignoring it.
+error: unresolved link to `error`
--> $DIR/lint-group.rs:9:29
|
LL | /// what up, let's make an [error]
- | ^^^^^ cannot be resolved, ignoring
+ | ^^^^^ unresolved link
|
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)]`
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
error: aborting due to 3 previous errors