2020-07-27 21:16:41 -05:00
|
|
|
error: missing code example in this documentation
|
2022-12-30 19:09:19 -06:00
|
|
|
--> $DIR/lint-group.rs:19:1
|
2020-07-27 21:16:41 -05:00
|
|
|
|
|
|
|
|
LL | /// wait, this doesn't have a doctest?
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2022-09-12 13:10:35 -05:00
|
|
|
--> $DIR/lint-group.rs:9:9
|
2020-07-27 21:16:41 -05:00
|
|
|
|
|
2022-12-30 19:09:19 -06:00
|
|
|
LL | #![deny(rustdoc::missing_doc_code_examples)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-27 21:16:41 -05:00
|
|
|
|
2019-11-24 20:42:22 -06:00
|
|
|
error: documentation test in private item
|
2022-12-30 19:09:19 -06:00
|
|
|
--> $DIR/lint-group.rs:22:1
|
2018-12-10 14:58:57 -06:00
|
|
|
|
|
|
|
|
LL | / /// wait, this *does* have a doctest?
|
|
|
|
LL | | ///
|
|
|
|
LL | | /// ```
|
|
|
|
LL | | /// println!("sup");
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
2022-12-30 19:09:19 -06:00
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/lint-group.rs:10:9
|
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc::all)]
|
|
|
|
| ^^^^^^^^^^^^
|
2021-03-05 08:50:20 -06:00
|
|
|
= note: `#[deny(rustdoc::private_doc_tests)]` implied by `#[deny(rustdoc::all)]`
|
2018-12-10 14:58:57 -06:00
|
|
|
|
2020-09-26 15:50:34 -05:00
|
|
|
error: missing code example in this documentation
|
2022-12-30 19:09:19 -06:00
|
|
|
--> $DIR/lint-group.rs:29:1
|
2020-09-26 15:50:34 -05:00
|
|
|
|
|
|
|
|
LL | /// <unknown>
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
error: unresolved link to `error`
|
2022-12-30 19:09:19 -06:00
|
|
|
--> $DIR/lint-group.rs:12:29
|
2018-12-10 14:58:57 -06:00
|
|
|
|
|
|
|
|
LL | /// what up, let's make an [error]
|
2020-10-02 21:53:09 -05:00
|
|
|
| ^^^^^ no item named `error` in scope
|
2018-12-10 14:58:57 -06:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2022-09-23 13:34:34 -05:00
|
|
|
= note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(rustdoc::all)]`
|
2018-12-10 14:58:57 -06:00
|
|
|
|
2020-09-26 15:50:34 -05:00
|
|
|
error: unclosed HTML tag `unknown`
|
2022-12-30 19:09:19 -06:00
|
|
|
--> $DIR/lint-group.rs:29:5
|
2020-09-26 15:50:34 -05:00
|
|
|
|
|
|
|
|
LL | /// <unknown>
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
2021-03-05 08:50:20 -06:00
|
|
|
= note: `#[deny(rustdoc::invalid_html_tags)]` implied by `#[deny(rustdoc::all)]`
|
2020-09-26 15:50:34 -05:00
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2018-12-08 13:30:23 -06:00
|
|
|
|