2020-07-27 22:16:41 -04:00
|
|
|
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)]`
|
|
|
|
|
2019-11-24 18:42:22 -08:00
|
|
|
error: documentation test in private item
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/lint-group.rs:19:1
|
2018-12-10 14:58:57 -06:00
|
|
|
|
|
|
|
|
LL | / /// wait, this *does* have a doctest?
|
|
|
|
LL | | ///
|
|
|
|
LL | | /// ```
|
|
|
|
LL | | /// println!("sup");
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/lint-group.rs:7:9
|
2018-12-10 14:58:57 -06:00
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc)]
|
|
|
|
| ^^^^^^^
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]`
|
2018-12-10 14:58:57 -06:00
|
|
|
|
2020-07-19 13:03:35 -04:00
|
|
|
error: unresolved link to `error`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/lint-group.rs:9:29
|
2018-12-10 14:58:57 -06:00
|
|
|
|
|
|
|
|
LL | /// what up, let's make an [error]
|
2020-10-02 14:32:14 -07:00
|
|
|
| ^^^^^ there is no item named `error` in scope
|
2018-12-10 14:58:57 -06:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/lint-group.rs:7:9
|
2018-12-10 14:58:57 -06:00
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc)]
|
|
|
|
| ^^^^^^^
|
2020-07-30 10:38:55 -07:00
|
|
|
= note: `#[deny(broken_intra_doc_links)]` implied by `#[deny(rustdoc)]`
|
2020-07-19 13:03:35 -04:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-12-10 14:58:57 -06:00
|
|
|
|
2018-12-08 20:30:23 +01:00
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|