forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdisambiguator-mismatch.stderr
186 lines (170 loc) · 4.79 KB
/
disambiguator-mismatch.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
error: incompatible link kind for `S`
--> $DIR/disambiguator-mismatch.rs:22:14
|
LL | /// Link to [struct@S]
| ^^^^^^^^ this link resolved to an enum, which is not a struct
|
note: the lint level is defined here
--> $DIR/disambiguator-mismatch.rs:1:9
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: to link to the enum, prefix with `enum@`
|
LL - /// Link to [struct@S]
LL + /// Link to [enum@S]
|
error: incompatible link kind for `S`
--> $DIR/disambiguator-mismatch.rs:27:14
|
LL | /// Link to [mod@S]
| ^^^^^ this link resolved to an enum, which is not a module
|
help: to link to the enum, prefix with `enum@`
|
LL - /// Link to [mod@S]
LL + /// Link to [enum@S]
|
error: incompatible link kind for `S`
--> $DIR/disambiguator-mismatch.rs:32:14
|
LL | /// Link to [union@S]
| ^^^^^^^ this link resolved to an enum, which is not a union
|
help: to link to the enum, prefix with `enum@`
|
LL - /// Link to [union@S]
LL + /// Link to [enum@S]
|
error: incompatible link kind for `S`
--> $DIR/disambiguator-mismatch.rs:37:14
|
LL | /// Link to [trait@S]
| ^^^^^^^ this link resolved to an enum, which is not a trait
|
help: to link to the enum, prefix with `enum@`
|
LL - /// Link to [trait@S]
LL + /// Link to [enum@S]
|
error: incompatible link kind for `T`
--> $DIR/disambiguator-mismatch.rs:42:14
|
LL | /// Link to [struct@T]
| ^^^^^^^^ this link resolved to a trait, which is not a struct
|
help: to link to the trait, prefix with `trait@`
|
LL - /// Link to [struct@T]
LL + /// Link to [trait@T]
|
error: incompatible link kind for `m`
--> $DIR/disambiguator-mismatch.rs:47:14
|
LL | /// Link to [derive@m]
| ^^^^^^^^ this link resolved to a macro, which is not a derive macro
|
help: to link to the macro, add an exclamation mark
|
LL - /// Link to [derive@m]
LL + /// Link to [m!]
|
error: unresolved link to `m`
--> $DIR/disambiguator-mismatch.rs:52:14
|
LL | /// Link to [m()]
| ^^^ this link resolves to the macro `m`, which is not a function
|
help: to link to the macro, add an exclamation mark
|
LL | /// Link to [m!()]
| +
error: incompatible link kind for `s`
--> $DIR/disambiguator-mismatch.rs:58:14
|
LL | /// Link to [const@s]
| ^^^^^^^ this link resolved to a static, which is not a constant
|
help: to link to the static, prefix with `static@`
|
LL - /// Link to [const@s]
LL + /// Link to [static@s]
|
error: incompatible link kind for `c`
--> $DIR/disambiguator-mismatch.rs:63:14
|
LL | /// Link to [static@c]
| ^^^^^^^^ this link resolved to a constant, which is not a static
|
help: to link to the constant, prefix with `const@`
|
LL - /// Link to [static@c]
LL + /// Link to [const@c]
|
error: incompatible link kind for `c`
--> $DIR/disambiguator-mismatch.rs:68:14
|
LL | /// Link to [fn@c]
| ^^^^ this link resolved to a constant, which is not a function
|
help: to link to the constant, prefix with `const@`
|
LL - /// Link to [fn@c]
LL + /// Link to [const@c]
|
error: incompatible link kind for `c`
--> $DIR/disambiguator-mismatch.rs:73:14
|
LL | /// Link to [c()]
| ^^^ this link resolved to a constant, which is not a function
|
help: to link to the constant, prefix with `const@`
|
LL - /// Link to [c()]
LL + /// Link to [const@c]
|
error: incompatible link kind for `f`
--> $DIR/disambiguator-mismatch.rs:78:14
|
LL | /// Link to [const@f]
| ^^^^^^^ this link resolved to a function, which is not a constant
|
help: to link to the function, add parentheses
|
LL - /// Link to [const@f]
LL + /// Link to [f()]
|
error: unresolved link to `std`
--> $DIR/disambiguator-mismatch.rs:83:14
|
LL | /// Link to [fn@std]
| ^^^^^^ this link resolves to the crate `std`, which is not a function
|
help: to link to the crate, prefix with `mod@`
|
LL - /// Link to [fn@std]
LL + /// Link to [mod@std]
|
error: incompatible link kind for `X::y`
--> $DIR/disambiguator-mismatch.rs:88:14
|
LL | /// Link to [method@X::y]
| ^^^^^^^^^^^ this link resolved to a field, which is not a function
|
help: to link to the field, prefix with `field@`
|
LL - /// Link to [method@X::y]
LL + /// Link to [field@X::y]
|
error: unresolved link to `S::A`
--> $DIR/disambiguator-mismatch.rs:93:14
|
LL | /// Link to [field@S::A]
| ^^^^^^^^^^ this link resolves to the variant `A`, which is not a field
|
help: to link to the variant, prefix with `variant@`
|
LL - /// Link to [field@S::A]
LL + /// Link to [variant@S::A]
|
error: aborting due to 15 previous errors