2019-11-25 02:42:22 +00:00
|
|
|
error: documentation test in private item
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/lint-group.rs:19:1
|
2018-12-10 20:58:57 +00: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 15:56:47 +00:00
|
|
|
--> $DIR/lint-group.rs:7:9
|
2018-12-10 20:58:57 +00:00
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc)]
|
|
|
|
| ^^^^^^^
|
2019-07-16 20:17:38 +00:00
|
|
|
= note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]`
|
2018-12-10 20:58:57 +00:00
|
|
|
|
2019-11-25 13:24:53 +00:00
|
|
|
error: `[error]` cannot be resolved, ignoring it.
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/lint-group.rs:9:29
|
2018-12-10 20:58:57 +00:00
|
|
|
|
|
|
|
|
LL | /// what up, let's make an [error]
|
|
|
|
| ^^^^^ cannot be resolved, ignoring
|
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/lint-group.rs:7:9
|
2018-12-10 20:58:57 +00:00
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc)]
|
|
|
|
| ^^^^^^^
|
2019-07-16 20:17:38 +00:00
|
|
|
= note: `#[deny(intra_doc_link_resolution_failure)]` implied by `#[deny(rustdoc)]`
|
2019-03-13 04:47:36 +00:00
|
|
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
|
2018-12-10 20:58:57 +00:00
|
|
|
|
2019-11-25 02:42:22 +00:00
|
|
|
error: missing code example in this documentation
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/lint-group.rs:16:1
|
2018-12-10 20:58:57 +00:00
|
|
|
|
|
|
|
|
LL | /// wait, this doesn't have a doctest?
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/lint-group.rs:7:9
|
2018-12-10 20:58:57 +00:00
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc)]
|
|
|
|
| ^^^^^^^
|
2019-07-16 20:17:38 +00:00
|
|
|
= note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]`
|
2018-12-10 20:58:57 +00:00
|
|
|
|
2018-12-08 19:30:23 +00:00
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|