@@ -44,58 +44,64 @@ LL | //! inner attributes too
44
44
| ^ help: end the doc comment with some punctuation: `.`
45
45
46
46
error: 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
48
48
|
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: `.`
51
57
52
58
error: 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
54
60
|
55
61
LL | /// **But sometimes it is missing a period**
56
62
| ^ help: end the doc comment with some punctuation: `.`
57
63
58
64
error: 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
60
66
|
61
67
LL | /// _But sometimes it is missing a period_
62
68
| ^ help: end the doc comment with some punctuation: `.`
63
69
64
70
error: 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
66
72
|
67
73
LL | /// Doc comments can end with an [inline link](#anchor)
68
74
| ^ help: end the doc comment with some punctuation: `.`
69
75
70
76
error: 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
72
78
|
73
79
LL | /// Some doc comments contain [link reference definitions][spec]
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:129 :57
83
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:130 :57
78
84
|
79
85
LL | /// Doc comments with trailing blank lines are supported
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:137 :30
89
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:138 :30
84
90
|
85
91
LL | /// Only the last sentence is
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:144 :33
95
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:145 :33
90
96
|
91
97
LL | /// This ends with a code `span`
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:153 :27
101
+ --> tests/ui/doc/doc_comments_missing_terminal_punctuation.rs:154 :27
96
102
|
97
103
LL | * Block doc comments work
98
104
| ^ help: end the doc comment with some punctuation: `.`
99
105
100
- error: aborting due to 16 previous errors
106
+ error: aborting due to 17 previous errors
101
107
0 commit comments