@@ -18,173 +18,191 @@ error: you should put `Foo::some_fun` between ticks in the documentation
18
18
LL | /// Markdown is _weird_. I mean _really weird_. This /_ is ok. So is `_`. But not Foo::some_fun
19
19
| ^^^^^^^^^^^^^
20
20
21
- error: you should put `a::global:path` between ticks in the documentation
22
- --> $DIR/doc.rs:11:15
21
+ error: you should put `:: a::global:path` between ticks in the documentation
22
+ --> $DIR/doc.rs:11:13
23
23
|
24
- LL | /// Here be ::a::global:path.
25
- | ^^^^^^^^^^^^^^
24
+ LL | /// Here be ::a::global:path, and _::another::global::path_. :: is not a path though.
25
+ | ^^^^^^^^^^^^^^^^
26
+
27
+ error: you should put `::another::global::path` between ticks in the documentation
28
+ --> $DIR/doc.rs:11:36
29
+ |
30
+ LL | /// Here be ::a::global:path, and _::another::global::path_. :: is not a path though.
31
+ | ^^^^^^^^^^^^^^^^^^^^^^^
32
+
33
+ error: you should put `::awesome::global::blob::` between ticks in the documentation
34
+ --> $DIR/doc.rs:12:25
35
+ |
36
+ LL | /// Import an item from ::awesome::global::blob:: (Intended postfix)
37
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
38
+
39
+ error: you should put `::Cat` between ticks in the documentation
40
+ --> $DIR/doc.rs:13:31
41
+ |
42
+ LL | /// These are the options for ::Cat: (Intended trailing single colon, shouldn't be linted)
43
+ | ^^^^^
26
44
27
45
error: you should put `NotInCodeBlock` between ticks in the documentation
28
- --> $DIR/doc.rs:12 :22
46
+ --> $DIR/doc.rs:14 :22
29
47
|
30
48
LL | /// That's not code ~NotInCodeBlock~.
31
49
| ^^^^^^^^^^^^^^
32
50
33
51
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
34
- --> $DIR/doc.rs:13 :5
52
+ --> $DIR/doc.rs:15 :5
35
53
|
36
54
LL | /// be_sure_we_got_to_the_end_of_it
37
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38
56
39
57
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
40
- --> $DIR/doc.rs:27 :5
58
+ --> $DIR/doc.rs:29 :5
41
59
|
42
60
LL | /// be_sure_we_got_to_the_end_of_it
43
61
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
62
45
63
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
46
- --> $DIR/doc.rs:34 :5
64
+ --> $DIR/doc.rs:36 :5
47
65
|
48
66
LL | /// be_sure_we_got_to_the_end_of_it
49
67
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50
68
51
69
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
52
- --> $DIR/doc.rs:48 :5
70
+ --> $DIR/doc.rs:50 :5
53
71
|
54
72
LL | /// be_sure_we_got_to_the_end_of_it
55
73
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56
74
57
75
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
58
- --> $DIR/doc.rs:71 :5
76
+ --> $DIR/doc.rs:73 :5
59
77
|
60
78
LL | /// be_sure_we_got_to_the_end_of_it
61
79
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62
80
63
81
error: you should put `link_with_underscores` between ticks in the documentation
64
- --> $DIR/doc.rs:75 :22
82
+ --> $DIR/doc.rs:77 :22
65
83
|
66
84
LL | /// This test has [a link_with_underscores][chunked-example] inside it. See #823.
67
85
| ^^^^^^^^^^^^^^^^^^^^^
68
86
69
87
error: you should put `inline_link2` between ticks in the documentation
70
- --> $DIR/doc.rs:78 :21
88
+ --> $DIR/doc.rs:80 :21
71
89
|
72
90
LL | /// It can also be [inline_link2].
73
91
| ^^^^^^^^^^^^
74
92
75
93
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
76
- --> $DIR/doc.rs:88 :5
94
+ --> $DIR/doc.rs:90 :5
77
95
|
78
96
LL | /// be_sure_we_got_to_the_end_of_it
79
97
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
80
98
81
99
error: you should put `CamelCaseThing` between ticks in the documentation
82
- --> $DIR/doc.rs:96 :8
100
+ --> $DIR/doc.rs:98 :8
83
101
|
84
102
LL | /// ## CamelCaseThing
85
103
| ^^^^^^^^^^^^^^
86
104
87
105
error: you should put `CamelCaseThing` between ticks in the documentation
88
- --> $DIR/doc.rs:99 :7
106
+ --> $DIR/doc.rs:101 :7
89
107
|
90
108
LL | /// # CamelCaseThing
91
109
| ^^^^^^^^^^^^^^
92
110
93
111
error: you should put `CamelCaseThing` between ticks in the documentation
94
- --> $DIR/doc.rs:101 :22
112
+ --> $DIR/doc.rs:103 :22
95
113
|
96
114
LL | /// Not a title #897 CamelCaseThing
97
115
| ^^^^^^^^^^^^^^
98
116
99
117
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
100
- --> $DIR/doc.rs:102 :5
118
+ --> $DIR/doc.rs:104 :5
101
119
|
102
120
LL | /// be_sure_we_got_to_the_end_of_it
103
121
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
104
122
105
123
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
106
- --> $DIR/doc.rs:109 :5
124
+ --> $DIR/doc.rs:111 :5
107
125
|
108
126
LL | /// be_sure_we_got_to_the_end_of_it
109
127
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
110
128
111
129
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
112
- --> $DIR/doc.rs:122 :5
130
+ --> $DIR/doc.rs:124 :5
113
131
|
114
132
LL | /// be_sure_we_got_to_the_end_of_it
115
133
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116
134
117
135
error: you should put `FooBar` between ticks in the documentation
118
- --> $DIR/doc.rs:133 :43
136
+ --> $DIR/doc.rs:135 :43
119
137
|
120
138
LL | /** E.g., serialization of an empty list: FooBar
121
139
| ^^^^^^
122
140
123
141
error: you should put `BarQuz` between ticks in the documentation
124
- --> $DIR/doc.rs:138 :5
142
+ --> $DIR/doc.rs:140 :5
125
143
|
126
144
LL | And BarQuz too.
127
145
| ^^^^^^
128
146
129
147
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
130
- --> $DIR/doc.rs:139 :1
148
+ --> $DIR/doc.rs:141 :1
131
149
|
132
150
LL | be_sure_we_got_to_the_end_of_it
133
151
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134
152
135
153
error: you should put `FooBar` between ticks in the documentation
136
- --> $DIR/doc.rs:144 :43
154
+ --> $DIR/doc.rs:146 :43
137
155
|
138
156
LL | /** E.g., serialization of an empty list: FooBar
139
157
| ^^^^^^
140
158
141
159
error: you should put `BarQuz` between ticks in the documentation
142
- --> $DIR/doc.rs:149 :5
160
+ --> $DIR/doc.rs:151 :5
143
161
|
144
162
LL | And BarQuz too.
145
163
| ^^^^^^
146
164
147
165
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
148
- --> $DIR/doc.rs:150 :1
166
+ --> $DIR/doc.rs:152 :1
149
167
|
150
168
LL | be_sure_we_got_to_the_end_of_it
151
169
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
152
170
153
171
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
154
- --> $DIR/doc.rs:161 :5
172
+ --> $DIR/doc.rs:163 :5
155
173
|
156
174
LL | /// be_sure_we_got_to_the_end_of_it
157
175
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158
176
159
177
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
160
- --> $DIR/doc.rs:188 :13
178
+ --> $DIR/doc.rs:190 :13
161
179
|
162
180
LL | /// Not ok: http://www.unicode.org
163
181
| ^^^^^^^^^^^^^^^^^^^^^^
164
182
165
183
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
166
- --> $DIR/doc.rs:189 :13
184
+ --> $DIR/doc.rs:191 :13
167
185
|
168
186
LL | /// Not ok: https://www.unicode.org
169
187
| ^^^^^^^^^^^^^^^^^^^^^^^
170
188
171
189
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
172
- --> $DIR/doc.rs:190 :13
190
+ --> $DIR/doc.rs:192 :13
173
191
|
174
192
LL | /// Not ok: http://www.unicode.org/
175
193
| ^^^^^^^^^^^^^^^^^^^^^^
176
194
177
195
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
178
- --> $DIR/doc.rs:191 :13
196
+ --> $DIR/doc.rs:193 :13
179
197
|
180
198
LL | /// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
181
199
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182
200
183
201
error: you should put `mycrate::Collection` between ticks in the documentation
184
- --> $DIR/doc.rs:194 :22
202
+ --> $DIR/doc.rs:196 :22
185
203
|
186
204
LL | /// An iterator over mycrate::Collection's values.
187
205
| ^^^^^^^^^^^^^^^^^^^
188
206
189
- error: aborting due to 31 previous errors
207
+ error: aborting due to 34 previous errors
190
208
0 commit comments