mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
|
error: Documentation test in private item
|
||
|
--> $DIR/lint-group.rs:29:1
|
||
|
|
|
||
|
LL | / /// wait, this *does* have a doctest?
|
||
|
LL | | ///
|
||
|
LL | | /// ```
|
||
|
LL | | /// println!("sup");
|
||
|
LL | | /// ```
|
||
|
| |_______^
|
||
|
|
|
||
|
note: lint level defined here
|
||
|
--> $DIR/lint-group.rs:17:9
|
||
|
|
|
||
|
LL | #![deny(rustdoc)]
|
||
|
| ^^^^^^^
|
||
|
= note: #[deny(private_doc_tests)] implied by #[deny(rustdoc)]
|
||
|
|
||
|
error: `[error]` cannot be resolved, ignoring it...
|
||
|
--> $DIR/lint-group.rs:19:29
|
||
|
|
|
||
|
LL | /// what up, let's make an [error]
|
||
|
| ^^^^^ cannot be resolved, ignoring
|
||
|
|
|
||
|
note: lint level defined here
|
||
|
--> $DIR/lint-group.rs:17: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:26:1
|
||
|
|
|
||
|
LL | /// wait, this doesn't have a doctest?
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
note: lint level defined here
|
||
|
--> $DIR/lint-group.rs:17:9
|
||
|
|
|
||
|
LL | #![deny(rustdoc)]
|
||
|
| ^^^^^^^
|
||
|
= note: #[deny(missing_doc_code_examples)] implied by #[deny(rustdoc)]
|
||
|
|