fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
8.6 KiB323 linesraw
1error: item in documentation is missing backticks
2  --> $DIR/doc-fixable.rs:9:9
3   |
4LL | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
5   |         ^^^^^^^
6   |
7   = note: `-D clippy::doc-markdown` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::doc_markdown)]`
9help: try
10   |
11LL | /// The `foo_bar` function does _nothing_. See also foo::bar. (note the dot there)
12   |         ~~~~~~~~~
13
14error: item in documentation is missing backticks
15  --> $DIR/doc-fixable.rs:9:51
16   |
17LL | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
18   |                                                   ^^^^^^^^
19   |
20help: try
21   |
22LL | /// The foo_bar function does _nothing_. See also `foo::bar`. (note the dot there)
23   |                                                   ~~~~~~~~~~
24
25error: item in documentation is missing backticks
26  --> $DIR/doc-fixable.rs:10:83
27   |
28LL | /// Markdown is _weird_. I mean _really weird_. This \_ is ok. So is `_`. But not Foo::some_fun
29   |                                                                                   ^^^^^^^^^^^^^
30   |
31help: try
32   |
33LL | /// Markdown is _weird_. I mean _really weird_. This \_ is ok. So is `_`. But not `Foo::some_fun`
34   |                                                                                   ~~~~~~~~~~~~~~~
35
36error: item in documentation is missing backticks
37  --> $DIR/doc-fixable.rs:12:13
38   |
39LL | /// Here be ::a::global:path, and _::another::global::path_.  :: is not a path though.
40   |             ^^^^^^^^^^^^^^^^
41   |
42help: try
43   |
44LL | /// Here be `::a::global:path`, and _::another::global::path_.  :: is not a path though.
45   |             ~~~~~~~~~~~~~~~~~~
46
47error: item in documentation is missing backticks
48  --> $DIR/doc-fixable.rs:12:36
49   |
50LL | /// Here be ::a::global:path, and _::another::global::path_.  :: is not a path though.
51   |                                    ^^^^^^^^^^^^^^^^^^^^^^^
52   |
53help: try
54   |
55LL | /// Here be ::a::global:path, and _`::another::global::path`_.  :: is not a path though.
56   |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~
57
58error: item in documentation is missing backticks
59  --> $DIR/doc-fixable.rs:13:25
60   |
61LL | /// Import an item from ::awesome::global::blob:: (Intended postfix)
62   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^
63   |
64help: try
65   |
66LL | /// Import an item from `::awesome::global::blob::` (Intended postfix)
67   |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
68
69error: item in documentation is missing backticks
70  --> $DIR/doc-fixable.rs:14:31
71   |
72LL | /// These are the options for ::Cat: (Intended trailing single colon, shouldn't be linted)
73   |                               ^^^^^
74   |
75help: try
76   |
77LL | /// These are the options for `::Cat`: (Intended trailing single colon, shouldn't be linted)
78   |                               ~~~~~~~
79
80error: item in documentation is missing backticks
81  --> $DIR/doc-fixable.rs:15:22
82   |
83LL | /// That's not code ~NotInCodeBlock~.
84   |                      ^^^^^^^^^^^^^^
85   |
86help: try
87   |
88LL | /// That's not code ~`NotInCodeBlock`~.
89   |                      ~~~~~~~~~~~~~~~~
90
91error: item in documentation is missing backticks
92  --> $DIR/doc-fixable.rs:16:5
93   |
94LL | /// be_sure_we_got_to_the_end_of_it
95   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
96   |
97help: try
98   |
99LL | /// `be_sure_we_got_to_the_end_of_it`
100   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101
102error: item in documentation is missing backticks
103  --> $DIR/doc-fixable.rs:30:5
104   |
105LL | /// be_sure_we_got_to_the_end_of_it
106   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
107   |
108help: try
109   |
110LL | /// `be_sure_we_got_to_the_end_of_it`
111   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112
113error: item in documentation is missing backticks
114  --> $DIR/doc-fixable.rs:37:5
115   |
116LL | /// be_sure_we_got_to_the_end_of_it
117   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
118   |
119help: try
120   |
121LL | /// `be_sure_we_got_to_the_end_of_it`
122   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123
124error: item in documentation is missing backticks
125  --> $DIR/doc-fixable.rs:51:5
126   |
127LL | /// be_sure_we_got_to_the_end_of_it
128   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129   |
130help: try
131   |
132LL | /// `be_sure_we_got_to_the_end_of_it`
133   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134
135error: item in documentation is missing backticks
136  --> $DIR/doc-fixable.rs:75:5
137   |
138LL | /// be_sure_we_got_to_the_end_of_it
139   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
140   |
141help: try
142   |
143LL | /// `be_sure_we_got_to_the_end_of_it`
144   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145
146error: item in documentation is missing backticks
147  --> $DIR/doc-fixable.rs:92:5
148   |
149LL | /// be_sure_we_got_to_the_end_of_it
150   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
151   |
152help: try
153   |
154LL | /// `be_sure_we_got_to_the_end_of_it`
155   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156
157error: item in documentation is missing backticks
158  --> $DIR/doc-fixable.rs:100:8
159   |
160LL | /// ## CamelCaseThing
161   |        ^^^^^^^^^^^^^^
162   |
163help: try
164   |
165LL | /// ## `CamelCaseThing`
166   |        ~~~~~~~~~~~~~~~~
167
168error: item in documentation is missing backticks
169  --> $DIR/doc-fixable.rs:103:7
170   |
171LL | /// # CamelCaseThing
172   |       ^^^^^^^^^^^^^^
173   |
174help: try
175   |
176LL | /// # `CamelCaseThing`
177   |       ~~~~~~~~~~~~~~~~
178
179error: item in documentation is missing backticks
180  --> $DIR/doc-fixable.rs:105:22
181   |
182LL | /// Not a title #897 CamelCaseThing
183   |                      ^^^^^^^^^^^^^^
184   |
185help: try
186   |
187LL | /// Not a title #897 `CamelCaseThing`
188   |                      ~~~~~~~~~~~~~~~~
189
190error: item in documentation is missing backticks
191  --> $DIR/doc-fixable.rs:106:5
192   |
193LL | /// be_sure_we_got_to_the_end_of_it
194   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
195   |
196help: try
197   |
198LL | /// `be_sure_we_got_to_the_end_of_it`
199   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200
201error: item in documentation is missing backticks
202  --> $DIR/doc-fixable.rs:113:5
203   |
204LL | /// be_sure_we_got_to_the_end_of_it
205   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
206   |
207help: try
208   |
209LL | /// `be_sure_we_got_to_the_end_of_it`
210   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211
212error: item in documentation is missing backticks
213  --> $DIR/doc-fixable.rs:126:5
214   |
215LL | /// be_sure_we_got_to_the_end_of_it
216   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
217   |
218help: try
219   |
220LL | /// `be_sure_we_got_to_the_end_of_it`
221   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222
223error: item in documentation is missing backticks
224  --> $DIR/doc-fixable.rs:137:43
225   |
226LL | /** E.g., serialization of an empty list: FooBar
227   |                                           ^^^^^^
228   |
229help: try
230   |
231LL | /** E.g., serialization of an empty list: `FooBar`
232   |                                           ~~~~~~~~
233
234error: item in documentation is missing backticks
235  --> $DIR/doc-fixable.rs:142:5
236   |
237LL | And BarQuz too.
238   |     ^^^^^^
239   |
240help: try
241   |
242LL | And `BarQuz` too.
243   |     ~~~~~~~~
244
245error: item in documentation is missing backticks
246  --> $DIR/doc-fixable.rs:143:1
247   |
248LL | be_sure_we_got_to_the_end_of_it
249   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
250   |
251help: try
252   |
253LL | `be_sure_we_got_to_the_end_of_it`
254   |
255
256error: item in documentation is missing backticks
257  --> $DIR/doc-fixable.rs:148:43
258   |
259LL | /** E.g., serialization of an empty list: FooBar
260   |                                           ^^^^^^
261   |
262help: try
263   |
264LL | /** E.g., serialization of an empty list: `FooBar`
265   |                                           ~~~~~~~~
266
267error: item in documentation is missing backticks
268  --> $DIR/doc-fixable.rs:153:5
269   |
270LL | And BarQuz too.
271   |     ^^^^^^
272   |
273help: try
274   |
275LL | And `BarQuz` too.
276   |     ~~~~~~~~
277
278error: item in documentation is missing backticks
279  --> $DIR/doc-fixable.rs:154:1
280   |
281LL | be_sure_we_got_to_the_end_of_it
282   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
283   |
284help: try
285   |
286LL | `be_sure_we_got_to_the_end_of_it`
287   |
288
289error: item in documentation is missing backticks
290  --> $DIR/doc-fixable.rs:165:5
291   |
292LL | /// be_sure_we_got_to_the_end_of_it
293   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
294   |
295help: try
296   |
297LL | /// `be_sure_we_got_to_the_end_of_it`
298   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299
300error: item in documentation is missing backticks
301  --> $DIR/doc-fixable.rs:184:22
302   |
303LL | /// An iterator over mycrate::Collection's values.
304   |                      ^^^^^^^^^^^^^^^^^^^
305   |
306help: try
307   |
308LL | /// An iterator over `mycrate::Collection`'s values.
309   |                      ~~~~~~~~~~~~~~~~~~~~~
310
311error: item in documentation is missing backticks
312  --> $DIR/doc-fixable.rs:208:34
313   |
314LL | /// Foo \[bar\] \[baz\] \[qux\]. DocMarkdownLint
315   |                                  ^^^^^^^^^^^^^^^
316   |
317help: try
318   |
319LL | /// Foo \[bar\] \[baz\] \[qux\]. `DocMarkdownLint`
320   |                                  ~~~~~~~~~~~~~~~~~
321
322error: aborting due to 29 previous errors
323