mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
error: missing documentation for an associated function
|
|
--> $DIR/lint-missing-doc-code-example.rs:82:5
|
|
|
|
|
LL | pub fn bar() {}
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-missing-doc-code-example.rs:2:9
|
|
|
|
|
LL | #![deny(missing_docs)]
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: missing code example in this documentation
|
|
--> $DIR/lint-missing-doc-code-example.rs:38:3
|
|
|
|
|
LL | /// doc
|
|
| ^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-missing-doc-code-example.rs:3:9
|
|
|
|
|
LL | #![deny(rustdoc::missing_doc_code_examples)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: missing code example in this documentation
|
|
--> $DIR/lint-missing-doc-code-example.rs:50:1
|
|
|
|
|
LL | /// Doc
|
|
| ^^^^^^^
|
|
|
|
error: missing code example in this documentation
|
|
--> $DIR/lint-missing-doc-code-example.rs:57:1
|
|
|
|
|
LL | /// Doc
|
|
| ^^^^^^^
|
|
|
|
error: missing code example in this documentation
|
|
--> $DIR/lint-missing-doc-code-example.rs:64:1
|
|
|
|
|
LL | /// Doc
|
|
| ^^^^^^^
|
|
|
|
error: missing code example in this documentation
|
|
--> $DIR/lint-missing-doc-code-example.rs:82:5
|
|
|
|
|
LL | pub fn bar() {}
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 6 previous errors
|
|
|