1
1
error: incompatible link kind for `S`
2
- --> $DIR/intra-links-disambiguator-mismatch.rs:14 :14
2
+ --> $DIR/intra-links-disambiguator-mismatch.rs:18 :14
3
3
|
4
4
LL | /// Link to [struct@S]
5
5
| ^^^^^^^^ help: to link to the enum, use its disambiguator: `enum@S`
@@ -12,79 +12,79 @@ LL | #![deny(broken_intra_doc_links)]
12
12
= note: this link resolved to an enum, which is not a struct
13
13
14
14
error: incompatible link kind for `S`
15
- --> $DIR/intra-links-disambiguator-mismatch.rs:19 :14
15
+ --> $DIR/intra-links-disambiguator-mismatch.rs:23 :14
16
16
|
17
17
LL | /// Link to [mod@S]
18
18
| ^^^^^ help: to link to the enum, use its disambiguator: `enum@S`
19
19
|
20
20
= note: this link resolved to an enum, which is not a module
21
21
22
22
error: incompatible link kind for `S`
23
- --> $DIR/intra-links-disambiguator-mismatch.rs:24 :14
23
+ --> $DIR/intra-links-disambiguator-mismatch.rs:28 :14
24
24
|
25
25
LL | /// Link to [union@S]
26
26
| ^^^^^^^ help: to link to the enum, use its disambiguator: `enum@S`
27
27
|
28
28
= note: this link resolved to an enum, which is not a union
29
29
30
30
error: incompatible link kind for `S`
31
- --> $DIR/intra-links-disambiguator-mismatch.rs:29 :14
31
+ --> $DIR/intra-links-disambiguator-mismatch.rs:33 :14
32
32
|
33
33
LL | /// Link to [trait@S]
34
34
| ^^^^^^^ help: to link to the enum, use its disambiguator: `enum@S`
35
35
|
36
36
= note: this link resolved to an enum, which is not a trait
37
37
38
38
error: incompatible link kind for `T`
39
- --> $DIR/intra-links-disambiguator-mismatch.rs:34 :14
39
+ --> $DIR/intra-links-disambiguator-mismatch.rs:38 :14
40
40
|
41
41
LL | /// Link to [struct@T]
42
42
| ^^^^^^^^ help: to link to the trait, use its disambiguator: `trait@T`
43
43
|
44
44
= note: this link resolved to a trait, which is not a struct
45
45
46
46
error: incompatible link kind for `m`
47
- --> $DIR/intra-links-disambiguator-mismatch.rs:39 :14
47
+ --> $DIR/intra-links-disambiguator-mismatch.rs:43 :14
48
48
|
49
49
LL | /// Link to [derive@m]
50
50
| ^^^^^^^^ help: to link to the macro, use its disambiguator: `m!`
51
51
|
52
52
= note: this link resolved to a macro, which is not a derive macro
53
53
54
54
error: incompatible link kind for `s`
55
- --> $DIR/intra-links-disambiguator-mismatch.rs:44 :14
55
+ --> $DIR/intra-links-disambiguator-mismatch.rs:48 :14
56
56
|
57
57
LL | /// Link to [const@s]
58
58
| ^^^^^^^ help: to link to the static, use its disambiguator: `static@s`
59
59
|
60
60
= note: this link resolved to a static, which is not a constant
61
61
62
62
error: incompatible link kind for `c`
63
- --> $DIR/intra-links-disambiguator-mismatch.rs:49 :14
63
+ --> $DIR/intra-links-disambiguator-mismatch.rs:53 :14
64
64
|
65
65
LL | /// Link to [static@c]
66
66
| ^^^^^^^^ help: to link to the constant, use its disambiguator: `const@c`
67
67
|
68
68
= note: this link resolved to a constant, which is not a static
69
69
70
70
error: incompatible link kind for `c`
71
- --> $DIR/intra-links-disambiguator-mismatch.rs:54 :14
71
+ --> $DIR/intra-links-disambiguator-mismatch.rs:58 :14
72
72
|
73
73
LL | /// Link to [fn@c]
74
74
| ^^^^ help: to link to the constant, use its disambiguator: `const@c`
75
75
|
76
76
= note: this link resolved to a constant, which is not a function
77
77
78
78
error: incompatible link kind for `c`
79
- --> $DIR/intra-links-disambiguator-mismatch.rs:59 :14
79
+ --> $DIR/intra-links-disambiguator-mismatch.rs:63 :14
80
80
|
81
81
LL | /// Link to [c()]
82
82
| ^^^ help: to link to the constant, use its disambiguator: `const@c`
83
83
|
84
84
= note: this link resolved to a constant, which is not a function
85
85
86
86
error: incompatible link kind for `f`
87
- --> $DIR/intra-links-disambiguator-mismatch.rs:64 :14
87
+ --> $DIR/intra-links-disambiguator-mismatch.rs:68 :14
88
88
|
89
89
LL | /// Link to [const@f]
90
90
| ^^^^^^^ help: to link to the function, use its disambiguator: `f()`
0 commit comments