fork/rust

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

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

master
7.5 KiB272 linesraw
1error: incompatible link kind for `Clone`
2  --> $DIR/weird-syntax.rs:18:7
3   |
4LL | /// [`struct@Clone`]
5   |       ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
6   |
7note: the lint level is defined here
8  --> $DIR/weird-syntax.rs:3:9
9   |
10LL | #![deny(rustdoc::broken_intra_doc_links)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12help: to link to the trait, prefix with `trait@`
13   |
14LL | /// [`trait@Clone`]
15   |       ~~~~~~
16
17error: incompatible link kind for `Clone`
18  --> $DIR/weird-syntax.rs:21:9
19   |
20LL | /// [```struct@Clone```]
21   |         ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
22   |
23help: to link to the trait, prefix with `trait@`
24   |
25LL | /// [```trait@Clone```]
26   |         ~~~~~~
27
28error: incompatible link kind for `Clone`
29  --> $DIR/weird-syntax.rs:24:11
30   |
31LL | /// [  `  struct@Clone  `  ]
32   |           ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
33   |
34help: to link to the trait, prefix with `trait@`
35   |
36LL | /// [  `  trait@Clone  `  ]
37   |           ~~~~~~
38
39error: unresolved link to `Clone`
40  --> $DIR/weird-syntax.rs:27:9
41   |
42LL | /// [  `Clone ()`  ]
43   |         ^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
44   |
45help: to link to the trait, prefix with `trait@`
46   |
47LL - /// [  `Clone ()`  ]
48LL + /// [  `trait@Clone `  ]
49   |
50
51error: unresolved link to `Clone`
52  --> $DIR/weird-syntax.rs:30:7
53   |
54LL | /// [`Clone ()`  ]
55   |       ^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
56   |
57help: to link to the trait, prefix with `trait@`
58   |
59LL - /// [`Clone ()`  ]
60LL + /// [`trait@Clone `  ]
61   |
62
63error: unresolved link to `Clone`
64  --> $DIR/weird-syntax.rs:33:9
65   |
66LL | /// [  `Clone ()`]
67   |         ^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
68   |
69help: to link to the trait, prefix with `trait@`
70   |
71LL - /// [  `Clone ()`]
72LL + /// [  `trait@Clone `]
73   |
74
75error: unresolved link to `Clone`
76  --> $DIR/weird-syntax.rs:36:9
77   |
78LL | /// [```Clone ()```]
79   |         ^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
80   |
81help: to link to the trait, prefix with `trait@`
82   |
83LL - /// [```Clone ()```]
84LL + /// [```trait@Clone ```]
85   |
86
87error: unresolved link to `Clone`
88  --> $DIR/weird-syntax.rs:42:13
89   |
90LL | /// [  ```  Clone ()  ```  ]
91   |             ^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
92   |
93help: to link to the trait, prefix with `trait@`
94   |
95LL - /// [  ```  Clone ()  ```  ]
96LL + /// [  ```  trait@Clone   ```  ]
97   |
98
99error: incompatible link kind for `Clone`
100  --> $DIR/weird-syntax.rs:62:10
101   |
102LL | /// [x][ struct@Clone]
103   |          ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
104   |
105help: to link to the trait, prefix with `trait@`
106   |
107LL | /// [x][ trait@Clone]
108   |          ~~~~~~
109
110error: incompatible link kind for `Clone`
111  --> $DIR/weird-syntax.rs:65:9
112   |
113LL | /// [x][struct@Clone ]
114   |         ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
115   |
116help: to link to the trait, prefix with `trait@`
117   |
118LL | /// [x][trait@Clone ]
119   |         ~~~~~~
120
121error: unresolved link to `Clone`
122  --> $DIR/weird-syntax.rs:74:9
123   |
124LL | /// [x][Clone()]
125   |         ^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
126   |
127help: to link to the trait, prefix with `trait@`
128   |
129LL - /// [x][Clone()]
130LL + /// [x][trait@Clone]
131   |
132
133error: unresolved link to `Clone`
134  --> $DIR/weird-syntax.rs:77:9
135   |
136LL | /// [x][Clone  ()]
137   |         ^^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
138   |
139help: to link to the trait, prefix with `trait@`
140   |
141LL - /// [x][Clone  ()]
142LL + /// [x][trait@Clone  ]
143   |
144
145error: unresolved link to `x`
146  --> $DIR/weird-syntax.rs:80:6
147   |
148LL | /// [x][Clone  []
149   |      ^ no item named `x` in scope
150   |
151   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
152
153error: incompatible link kind for `Clone`
154  --> $DIR/weird-syntax.rs:91:10
155   |
156LL | /// [w]( struct@Clone)
157   |          ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
158   |
159help: to link to the trait, prefix with `trait@`
160   |
161LL | /// [w]( trait@Clone)
162   |          ~~~~~~
163
164error: incompatible link kind for `Clone`
165  --> $DIR/weird-syntax.rs:94:9
166   |
167LL | /// [w](struct@Clone )
168   |         ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
169   |
170help: to link to the trait, prefix with `trait@`
171   |
172LL | /// [w](trait@Clone )
173   |         ~~~~~~
174
175error: unresolved link to `Clone`
176  --> $DIR/weird-syntax.rs:97:9
177   |
178LL | /// [w](Clone\(\))
179   |         ^^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
180   |
181help: to link to the trait, prefix with `trait@`
182   |
183LL - /// [w](Clone\(\))
184LL + /// [w](trait@Clone)
185   |
186
187error: unresolved link to `Clone`
188  --> $DIR/weird-syntax.rs:103:9
189   |
190LL | /// [w](Clone())
191   |         ^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
192   |
193help: to link to the trait, prefix with `trait@`
194   |
195LL - /// [w](Clone())
196LL + /// [w](trait@Clone)
197   |
198
199error: unresolved link to `w`
200  --> $DIR/weird-syntax.rs:109:6
201   |
202LL | /// [w](Clone  ()
203   |      ^ no item named `w` in scope
204   |
205   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
206
207error: unresolved link to `w`
208  --> $DIR/weird-syntax.rs:112:6
209   |
210LL | /// [w](Clone  \()
211   |      ^ no item named `w` in scope
212   |
213   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
214
215error: unresolved link to `w`
216  --> $DIR/weird-syntax.rs:115:6
217   |
218LL | /// [w](Clone  \))
219   |      ^ no item named `w` in scope
220   |
221   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
222
223error: unresolved link to `cln`
224  --> $DIR/weird-syntax.rs:120:10
225   |
226LL | /// The [cln][] link here is going to be unresolved, because `Clone()` gets rejected
227   |          ^^^ no item named `cln` in scope
228   |
229   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
230
231error: unresolved link to `cln`
232  --> $DIR/weird-syntax.rs:123:6
233   |
234LL | /// [cln]: Clone()
235   |      ^^^ no item named `cln` in scope
236   |
237   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
238
239error: unresolved link to `cln`
240  --> $DIR/weird-syntax.rs:126:10
241   |
242LL | /// The [cln][] link here is going to be unresolved, because `struct@Clone` gets
243   |          ^^^ no item named `cln` in scope
244   |
245   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
246
247error: unresolved link to `cln`
248  --> $DIR/weird-syntax.rs:129:6
249   |
250LL | /// [cln]: struct@Clone
251   |      ^^^ no item named `cln` in scope
252   |
253   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
254
255error: unresolved link to `Clone`
256  --> $DIR/weird-syntax.rs:132:9
257   |
258LL | /// The [cln][] link here will produce a plain text suggestion
259   |         ^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
260   |
261   = help: to link to the trait, prefix with `trait@`: trait@Clone
262
263error: incompatible link kind for `Clone`
264  --> $DIR/weird-syntax.rs:137:9
265   |
266LL | /// The [cln][] link here will produce a plain text suggestion
267   |         ^^^^^ this link resolved to a trait, which is not a struct
268   |
269   = help: to link to the trait, prefix with `trait@`: trait@Clone
270
271error: aborting due to 26 previous errors
272