@@ -44,58 +44,64 @@ LL | //! inner attributes too
4444 | ^ help: end the doc comment with some punctuation: `.`
4545
4646error: doc comments should end with a terminal punctuation mark
47- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:85:47
47+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:83:68
4848 |
49- LL | /// (But sometimes it is missing a period)
50- | ^ help: end the doc comment with some punctuation: `.`
49+ LL | /// Sometimes the doc comment ends with parentheses (like this)
50+ | ^ help: end the doc comment with some punctuation: `.`
51+
52+ error: doc comments should end with a terminal punctuation mark
53+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:86:100
54+ |
55+ LL | /// (Sometimes the last sentence is in parentheses, but there is no special treatment of this.)
56+ | ^ help: end the doc comment with some punctuation: `.`
5157
5258error: doc comments should end with a terminal punctuation mark
53- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:90 :47
59+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:91 :47
5460 |
5561LL | /// **But sometimes it is missing a period**
5662 | ^ help: end the doc comment with some punctuation: `.`
5763
5864error: doc comments should end with a terminal punctuation mark
59- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:95 :46
65+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:96 :46
6066 |
6167LL | /// _But sometimes it is missing a period_
6268 | ^ help: end the doc comment with some punctuation: `.`
6369
6470error: doc comments should end with a terminal punctuation mark
65- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:100 :56
71+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:101 :56
6672 |
6773LL | /// Doc comments can end with an [inline link](#anchor)
6874 | ^ help: end the doc comment with some punctuation: `.`
6975
7076error: doc comments should end with a terminal punctuation mark
71- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:104 :65
77+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:105 :65
7278 |
7379LL | /// Some doc comments contain [link reference definitions][spec]
7480 | ^ help: end the doc comment with some punctuation: `.`
7581
7682error: doc comments should end with a terminal punctuation mark
77- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:129 :57
83+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:130 :57
7884 |
7985LL | /// Doc comments with trailing blank lines are supported
8086 | ^ help: end the doc comment with some punctuation: `.`
8187
8288error: doc comments should end with a terminal punctuation mark
83- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:137 :30
89+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:138 :30
8490 |
8591LL | /// Only the last sentence is
8692 | ^ help: end the doc comment with some punctuation: `.`
8793
8894error: doc comments should end with a terminal punctuation mark
89- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:144 :33
95+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:145 :33
9096 |
9197LL | /// This ends with a code `span`
9298 | ^ help: end the doc comment with some punctuation: `.`
9399
94100error: doc comments should end with a terminal punctuation mark
95- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:153 :27
101+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:154 :27
96102 |
97103LL | * Block doc comments work
98104 | ^ help: end the doc comment with some punctuation: `.`
99105
100- error: aborting due to 16 previous errors
106+ error: aborting due to 17 previous errors
101107
0 commit comments