fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
5.5 KiB277 linesraw
1error: unknown start of token: \
2 --> <doctest>:1:1
3  |
41 | \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
5  | ^
6
7error: unknown start of token: \
8 --> <doctest>:1:43
9  |
101 | \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
11  |                                           ^
12
13error: unknown start of token: \
14 --> <doctest>:1:60
15  |
161 | \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
17  |                                                            ^
18
19warning: could not parse code block as Rust code
20  --> $DIR/invalid-syntax.rs:3:5
21   |
22LL |   /// ```
23   |  _____^
24LL | | /// \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
25LL | | /// ```
26   | |_______^
27help: mark blocks that do not contain Rust code as text
28   |
29LL | /// ```text
30   |     ^^^^^^^
31
32error: unknown start of token: `
33 --> <doctest>:3:30
34  |
353 |    |     ^^^^^^ did you mean `baz::foobar`?
36  |                              ^
37help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
38  |
393 |    |     ^^^^^^ did you mean 'baz::foobar`?
40  |                              ^
41
42error: unknown start of token: `
43 --> <doctest>:3:42
44  |
453 |    |     ^^^^^^ did you mean `baz::foobar`?
46  |                                          ^
47help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
48  |
493 |    |     ^^^^^^ did you mean `baz::foobar'?
50  |                                          ^
51
52warning: could not parse code block as Rust code
53  --> $DIR/invalid-syntax.rs:8:5
54   |
55LL |   /// ```
56   |  _____^
57LL | | ///    |
58LL | | /// LL | use foobar::Baz;
59LL | | ///    |     ^^^^^^ did you mean `baz::foobar`?
60LL | | /// ```
61   | |_______^
62help: mark blocks that do not contain Rust code as text
63   |
64LL | /// ```text
65   |     ^^^^^^^
66
67error: unknown start of token: \
68 --> <doctest>:1:1
69  |
701 | \_
71  | ^
72
73warning: could not parse code block as Rust code
74  --> $DIR/invalid-syntax.rs:19:5
75   |
76LL |   /// ```
77   |  _____^
78LL | | /// \_
79LL | | /// ```
80   | |_______^
81help: mark blocks that do not contain Rust code as text
82   |
83LL | /// ```text
84   |     ^^^^^^^
85
86error: unknown start of token: \
87 --> <doctest>:1:1
88  |
891 | \_
90  | ^
91
92warning: could not parse code block as Rust code
93  --> $DIR/invalid-syntax.rs:32:5
94   |
95LL |   /// ```rust
96   |  _____^
97LL | | /// \_
98LL | | /// ```
99   | |_______^
100
101error: unknown start of token: \
102 --> <doctest>:2:5
103  |
1042 |     \_
105  |     ^
106
107warning: could not parse code block as Rust code
108  --> $DIR/invalid-syntax.rs:41:9
109   |
110LL |   ///     code with bad syntax
111   |  _________^
112LL | | ///     \_
113   | |__________^
114
115error: unknown start of token: `
116 --> <doctest>:1:1
117  |
1181 | ```
119  | ^
120help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
121  |
1221 | '``
123  | ^
124
125error: unknown start of token: `
126 --> <doctest>:1:2
127  |
1281 | ```
129  |  ^
130help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
131  |
1321 | `'`
133  |  ^
134
135error: unknown start of token: `
136 --> <doctest>:1:3
137  |
1381 | ```
139  |   ^
140help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
141  |
1421 | ``'
143  |   ^
144
145warning: could not parse code block as Rust code
146  --> $DIR/invalid-syntax.rs:55:9
147   |
148LL | ///     ```
149   |         ^^^
150
151error: unknown start of token: \
152 --> <doctest>:1:1
153  |
1541 | \_
155  | ^
156
157warning: could not parse code block as Rust code
158  --> $DIR/invalid-syntax.rs:58:5
159   |
160LL |   /// ```edition2018
161   |  _____^
162LL | | /// \_
163LL | | /// ```
164   | |_______^
165
166error: unknown start of token: \
167 --> <doctest>:1:1
168  |
1691 | \_
170  | ^
171
172warning: doc comment contains an invalid Rust code block
173  --> $DIR/invalid-syntax.rs:63:1
174   |
175LL | / #[doc = "```"]
176LL | | /// \_
177LL | | #[doc = "```"]
178   | |______________^
179   |
180   = help: mark blocks that do not contain Rust code as text: ```text
181
182warning: Rust code block is empty
183  --> $DIR/invalid-syntax.rs:68:5
184   |
185LL |   /// ```rust
186   |  _____^
187LL | | /// ```
188   | |_______^
189
190warning: Rust code block is empty
191  --> $DIR/invalid-syntax.rs:72:5
192   |
193LL |   /// ```
194   |  _____^
195LL | | ///
196LL | | ///
197LL | | /// ```
198   | |_______^
199help: mark blocks that do not contain Rust code as text
200   |
201LL | /// ```text
202   |     ^^^^^^^
203
204error: unknown start of token: \
205 --> <doctest>:1:1
206  |
2071 | \____/
208  | ^
209
210warning: could not parse code block as Rust code
211  --> $DIR/invalid-syntax.rs:82:9
212   |
213LL | ///     \____/
214   |         ^^^^^^
215
216error: unknown start of token: \
217 --> <rustdoc-highlighting>:1:1
218  |
2191 | \____/
220  | ^
221
222error: unknown start of token: \
223 --> <rustdoc-highlighting>:1:1
224  |
2251 | \_
226  | ^
227
228error: unknown start of token: \
229 --> <rustdoc-highlighting>:1:1
230  |
2311 | \_
232  | ^
233
234error: unknown start of token: `
235 --> <rustdoc-highlighting>:1:1
236  |
2371 | ```
238  | ^
239help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
240  |
2411 | '``
242  | ^
243
244error: unknown start of token: \
245 --> <rustdoc-highlighting>:2:1
246  |
2472 | \_
248  | ^
249
250error: unknown start of token: \
251 --> <rustdoc-highlighting>:1:1
252  |
2531 | \_
254  | ^
255
256error: unknown start of token: \
257 --> <rustdoc-highlighting>:1:1
258  |
2591 | \_
260  | ^
261
262error: unknown start of token: `
263 --> <rustdoc-highlighting>:3:30
264  |
2653 |    |     ^^^^^^ did you mean `baz::foobar`?
266  |                              ^
267help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
268  |
2693 |    |     ^^^^^^ did you mean 'baz::foobar`?
270  |                              ^
271
272error: unknown start of token: \
273 --> <rustdoc-highlighting>:1:1
274  |
2751 | \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
276  | ^
277