rust/tests/rustdoc-ui/lints/check.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-11-12 07:58:07 -06:00
warning: missing documentation for the crate
--> $DIR/check.rs:5:1
2020-11-12 07:58:07 -06:00
|
LL | / #![feature(rustdoc_missing_doc_code_examples)]
2020-11-12 07:58:07 -06:00
LL | |
LL | |
LL | |
... |
2020-11-12 07:58:07 -06:00
LL | |
LL | | pub fn foo() {}
| |_______________^
|
note: the lint level is defined here
--> $DIR/check.rs:9:9
2020-11-12 07:58:07 -06:00
|
LL | #![warn(missing_docs)]
| ^^^^^^^^^^^^
warning: missing documentation for a function
--> $DIR/check.rs:13:1
2020-11-12 07:58:07 -06:00
|
LL | pub fn foo() {}
| ^^^^^^^^^^^^
warning: no documentation found for this crate's top-level module
|
2022-09-23 13:34:34 -05:00
= help: The following guide may be of use:
https://doc.rust-lang.org/$CHANNEL/rustdoc/how-to-write-documentation.html
note: the lint level is defined here
--> $DIR/check.rs:11:9
|
LL | #![warn(rustdoc::all)]
| ^^^^^^^^^^^^
= note: `#[warn(rustdoc::missing_crate_level_docs)]` implied by `#[warn(rustdoc::all)]`
2020-11-12 07:58:07 -06:00
warning: missing code example in this documentation
--> $DIR/check.rs:5:1
2020-11-12 07:58:07 -06:00
|
LL | / #![feature(rustdoc_missing_doc_code_examples)]
LL | |
2020-11-12 07:58:07 -06:00
LL | |
LL | |
... |
2020-11-12 07:58:07 -06:00
LL | |
LL | | pub fn foo() {}
| |_______________^
|
note: the lint level is defined here
--> $DIR/check.rs:10:9
|
LL | #![warn(rustdoc::missing_doc_code_examples)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-11-12 07:58:07 -06:00
warning: missing code example in this documentation
--> $DIR/check.rs:13:1
2020-11-12 07:58:07 -06:00
|
LL | pub fn foo() {}
| ^^^^^^^^^^^^^^^
warning: 5 warnings emitted
2020-11-12 07:58:07 -06:00