rust/src/test/rustdoc-ui/lint-group.stderr

47 lines
1.2 KiB
Text
Raw Normal View History

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
|
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
|
LL | #![deny(rustdoc)]
| ^^^^^^^
= note: `#[deny(private_doc_tests)]` implied by `#[deny(rustdoc)]`
error: unresolved link to `error`
2018-12-25 08:56:47 -07:00
--> $DIR/lint-group.rs:9:29
|
LL | /// what up, let's make an [error]
| ^^^^^ there is no item named `error` in scope
|
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
|
LL | #![deny(rustdoc)]
| ^^^^^^^
= note: `#[deny(broken_intra_doc_links)]` implied by `#[deny(rustdoc)]`
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
error: aborting due to 3 previous errors