@@ -68,40 +68,46 @@ LL | /// _But sometimes it is missing a period_
68
68
| ^ help: end the doc comment with some punctuation: `.`
69
69
70
70
error: doc comments should end with a terminal punctuation mark
71
- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:101:56
71
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:101:40
72
+ |
73
+ LL | /// This comment ends with "a quote"
74
+ | ^ help: end the doc comment with some punctuation: `.`
75
+
76
+ error: doc comments should end with a terminal punctuation mark
77
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:106:56
72
78
|
73
79
LL | /// Doc comments can end with an [inline link](#anchor)
74
80
| ^ help: end the doc comment with some punctuation: `.`
75
81
76
82
error: doc comments should end with a terminal punctuation mark
77
- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:105 :65
83
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:110 :65
78
84
|
79
85
LL | /// Some doc comments contain [link reference definitions][spec]
80
86
| ^ help: end the doc comment with some punctuation: `.`
81
87
82
88
error: doc comments should end with a terminal punctuation mark
83
- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:130 :57
89
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:135 :57
84
90
|
85
91
LL | /// Doc comments with trailing blank lines are supported
86
92
| ^ help: end the doc comment with some punctuation: `.`
87
93
88
94
error: doc comments should end with a terminal punctuation mark
89
- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:138 :30
95
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:143 :30
90
96
|
91
97
LL | /// Only the last sentence is
92
98
| ^ help: end the doc comment with some punctuation: `.`
93
99
94
100
error: doc comments should end with a terminal punctuation mark
95
- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:145 :33
101
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:150 :33
96
102
|
97
103
LL | /// This ends with a code `span`
98
104
| ^ help: end the doc comment with some punctuation: `.`
99
105
100
106
error: doc comments should end with a terminal punctuation mark
101
- --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:154 :27
107
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:159 :27
102
108
|
103
109
LL | * Block doc comments work
104
110
| ^ help: end the doc comment with some punctuation: `.`
105
111
106
- error: aborting due to 17 previous errors
112
+ error: aborting due to 18 previous errors
107
113
0 commit comments