blob: 6645e771c6d3021a6cc0d263df17f4541995ae52 [file]
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:5:86
|
LL | /// Returns the Answer to the Ultimate Question of Life, the Universe, and Everything
| ^ help: end the paragraph with some punctuation: `.`
|
= note: `-D clippy::doc-paragraphs-missing-punctuation` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::doc_paragraphs_missing_punctuation)]`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:11:22
|
LL | /// The `Option` type
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:16:17
|
LL | /// No value
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:27:41
|
LL | /// only the last line triggers the lint
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:40:56
|
LL | /// <https://spec.commonmark.org/0.31.2/#autolinks>
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:65:15
|
LL | /// U+0001
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:72:29
|
LL | //! inner attributes too
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:83:47
|
LL | /// **But sometimes it is missing a period**
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:88:46
|
LL | /// _But sometimes it is missing a period_
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:97:56
|
LL | /// Doc comments can end with an [inline link](#anchor)
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:101:65
|
LL | /// Some doc comments contain [link reference definitions][spec]
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:144:57
|
LL | /// Doc comments with trailing blank lines are supported
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:150:48
|
LL | /// This first paragraph is missing punctuation
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:154:34
|
LL | /// And it has multiple sentences
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:157:37
|
LL | /// Same for this third and last one
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:164:33
|
LL | /// This ends with a code `span`
| ^ help: end the paragraph with some punctuation: `.`
error: doc paragraphs should end with a terminal punctuation mark
--> tests/ui/doc/doc_paragraphs_missing_punctuation.rs:173:27
|
LL | * Block doc comments work
| ^ help: end the paragraph with some punctuation: `.`
error: aborting due to 17 previous errors