Skip to content

Commit b3ae038

Browse files
committed
Auto merge of #11000 - Centri3:doc_markdown, r=giraffate
add WebAssembly to test r? `@giraffate` changelog: none
2 parents 73e31d1 + 3b89984 commit b3ae038

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

tests/ui/doc/doc-fixable.fixed

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ fn test_units() {
6060
/// GitHub GitLab
6161
/// IPv4 IPv6
6262
/// ClojureScript CoffeeScript JavaScript PureScript TypeScript
63+
/// WebAssembly
6364
/// NaN NaNs
6465
/// OAuth GraphQL
6566
/// OCaml

tests/ui/doc/doc-fixable.rs

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ fn test_units() {
6060
/// GitHub GitLab
6161
/// IPv4 IPv6
6262
/// ClojureScript CoffeeScript JavaScript PureScript TypeScript
63+
/// WebAssembly
6364
/// NaN NaNs
6465
/// OAuth GraphQL
6566
/// OCaml

tests/ui/doc/doc-fixable.stderr

+16-16
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
132132
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133133

134134
error: item in documentation is missing backticks
135-
--> $DIR/doc-fixable.rs:74:5
135+
--> $DIR/doc-fixable.rs:75:5
136136
|
137137
LL | /// be_sure_we_got_to_the_end_of_it
138138
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -143,7 +143,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
143143
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144144

145145
error: item in documentation is missing backticks
146-
--> $DIR/doc-fixable.rs:91:5
146+
--> $DIR/doc-fixable.rs:92:5
147147
|
148148
LL | /// be_sure_we_got_to_the_end_of_it
149149
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -154,7 +154,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
154154
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155155

156156
error: item in documentation is missing backticks
157-
--> $DIR/doc-fixable.rs:99:8
157+
--> $DIR/doc-fixable.rs:100:8
158158
|
159159
LL | /// ## CamelCaseThing
160160
| ^^^^^^^^^^^^^^
@@ -165,7 +165,7 @@ LL | /// ## `CamelCaseThing`
165165
| ~~~~~~~~~~~~~~~~
166166

167167
error: item in documentation is missing backticks
168-
--> $DIR/doc-fixable.rs:102:7
168+
--> $DIR/doc-fixable.rs:103:7
169169
|
170170
LL | /// # CamelCaseThing
171171
| ^^^^^^^^^^^^^^
@@ -176,7 +176,7 @@ LL | /// # `CamelCaseThing`
176176
| ~~~~~~~~~~~~~~~~
177177

178178
error: item in documentation is missing backticks
179-
--> $DIR/doc-fixable.rs:104:22
179+
--> $DIR/doc-fixable.rs:105:22
180180
|
181181
LL | /// Not a title #897 CamelCaseThing
182182
| ^^^^^^^^^^^^^^
@@ -187,7 +187,7 @@ LL | /// Not a title #897 `CamelCaseThing`
187187
| ~~~~~~~~~~~~~~~~
188188

189189
error: item in documentation is missing backticks
190-
--> $DIR/doc-fixable.rs:105:5
190+
--> $DIR/doc-fixable.rs:106:5
191191
|
192192
LL | /// be_sure_we_got_to_the_end_of_it
193193
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -198,7 +198,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
198198
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199199

200200
error: item in documentation is missing backticks
201-
--> $DIR/doc-fixable.rs:112:5
201+
--> $DIR/doc-fixable.rs:113:5
202202
|
203203
LL | /// be_sure_we_got_to_the_end_of_it
204204
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -209,7 +209,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
209209
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210210

211211
error: item in documentation is missing backticks
212-
--> $DIR/doc-fixable.rs:125:5
212+
--> $DIR/doc-fixable.rs:126:5
213213
|
214214
LL | /// be_sure_we_got_to_the_end_of_it
215215
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -220,7 +220,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
220220
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221221

222222
error: item in documentation is missing backticks
223-
--> $DIR/doc-fixable.rs:136:43
223+
--> $DIR/doc-fixable.rs:137:43
224224
|
225225
LL | /** E.g., serialization of an empty list: FooBar
226226
| ^^^^^^
@@ -231,7 +231,7 @@ LL | /** E.g., serialization of an empty list: `FooBar`
231231
| ~~~~~~~~
232232

233233
error: item in documentation is missing backticks
234-
--> $DIR/doc-fixable.rs:141:5
234+
--> $DIR/doc-fixable.rs:142:5
235235
|
236236
LL | And BarQuz too.
237237
| ^^^^^^
@@ -242,7 +242,7 @@ LL | And `BarQuz` too.
242242
| ~~~~~~~~
243243

244244
error: item in documentation is missing backticks
245-
--> $DIR/doc-fixable.rs:142:1
245+
--> $DIR/doc-fixable.rs:143:1
246246
|
247247
LL | be_sure_we_got_to_the_end_of_it
248248
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -253,7 +253,7 @@ LL | `be_sure_we_got_to_the_end_of_it`
253253
|
254254

255255
error: item in documentation is missing backticks
256-
--> $DIR/doc-fixable.rs:147:43
256+
--> $DIR/doc-fixable.rs:148:43
257257
|
258258
LL | /** E.g., serialization of an empty list: FooBar
259259
| ^^^^^^
@@ -264,7 +264,7 @@ LL | /** E.g., serialization of an empty list: `FooBar`
264264
| ~~~~~~~~
265265

266266
error: item in documentation is missing backticks
267-
--> $DIR/doc-fixable.rs:152:5
267+
--> $DIR/doc-fixable.rs:153:5
268268
|
269269
LL | And BarQuz too.
270270
| ^^^^^^
@@ -275,7 +275,7 @@ LL | And `BarQuz` too.
275275
| ~~~~~~~~
276276

277277
error: item in documentation is missing backticks
278-
--> $DIR/doc-fixable.rs:153:1
278+
--> $DIR/doc-fixable.rs:154:1
279279
|
280280
LL | be_sure_we_got_to_the_end_of_it
281281
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -286,7 +286,7 @@ LL | `be_sure_we_got_to_the_end_of_it`
286286
|
287287

288288
error: item in documentation is missing backticks
289-
--> $DIR/doc-fixable.rs:164:5
289+
--> $DIR/doc-fixable.rs:165:5
290290
|
291291
LL | /// be_sure_we_got_to_the_end_of_it
292292
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -297,7 +297,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
297297
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298298

299299
error: item in documentation is missing backticks
300-
--> $DIR/doc-fixable.rs:183:22
300+
--> $DIR/doc-fixable.rs:184:22
301301
|
302302
LL | /// An iterator over mycrate::Collection's values.
303303
| ^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)