]>
Commit | Line | Data |
---|---|---|
3dfed10e | 1 | error: incompatible link kind for `S` |
fc512014 | 2 | --> $DIR/disambiguator-mismatch.rs:14:14 |
3dfed10e XL |
3 | | |
4 | LL | /// Link to [struct@S] | |
1b1a35ee | 5 | | ^^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S` |
3dfed10e XL |
6 | | |
7 | note: the lint level is defined here | |
fc512014 | 8 | --> $DIR/disambiguator-mismatch.rs:1:9 |
3dfed10e | 9 | | |
6a06907d XL |
10 | LL | #![deny(rustdoc::broken_intra_doc_links)] |
11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
3dfed10e XL |
12 | = note: this link resolved to an enum, which is not a struct |
13 | ||
14 | error: incompatible link kind for `S` | |
fc512014 | 15 | --> $DIR/disambiguator-mismatch.rs:19:14 |
3dfed10e XL |
16 | | |
17 | LL | /// Link to [mod@S] | |
1b1a35ee | 18 | | ^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S` |
3dfed10e XL |
19 | | |
20 | = note: this link resolved to an enum, which is not a module | |
21 | ||
22 | error: incompatible link kind for `S` | |
fc512014 | 23 | --> $DIR/disambiguator-mismatch.rs:24:14 |
3dfed10e XL |
24 | | |
25 | LL | /// Link to [union@S] | |
1b1a35ee | 26 | | ^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S` |
3dfed10e XL |
27 | | |
28 | = note: this link resolved to an enum, which is not a union | |
29 | ||
30 | error: incompatible link kind for `S` | |
fc512014 | 31 | --> $DIR/disambiguator-mismatch.rs:29:14 |
3dfed10e XL |
32 | | |
33 | LL | /// Link to [trait@S] | |
1b1a35ee | 34 | | ^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S` |
3dfed10e XL |
35 | | |
36 | = note: this link resolved to an enum, which is not a trait | |
37 | ||
38 | error: incompatible link kind for `T` | |
fc512014 | 39 | --> $DIR/disambiguator-mismatch.rs:34:14 |
3dfed10e XL |
40 | | |
41 | LL | /// Link to [struct@T] | |
1b1a35ee | 42 | | ^^^^^^^^ help: to link to the trait, prefix with `trait@`: `trait@T` |
3dfed10e XL |
43 | | |
44 | = note: this link resolved to a trait, which is not a struct | |
45 | ||
46 | error: incompatible link kind for `m` | |
fc512014 | 47 | --> $DIR/disambiguator-mismatch.rs:39:14 |
3dfed10e XL |
48 | | |
49 | LL | /// Link to [derive@m] | |
1b1a35ee | 50 | | ^^^^^^^^ help: to link to the macro, add an exclamation mark: `m!` |
3dfed10e XL |
51 | | |
52 | = note: this link resolved to a macro, which is not a derive macro | |
53 | ||
54 | error: incompatible link kind for `s` | |
fc512014 | 55 | --> $DIR/disambiguator-mismatch.rs:44:14 |
3dfed10e XL |
56 | | |
57 | LL | /// Link to [const@s] | |
1b1a35ee | 58 | | ^^^^^^^ help: to link to the static, prefix with `static@`: `static@s` |
3dfed10e XL |
59 | | |
60 | = note: this link resolved to a static, which is not a constant | |
61 | ||
62 | error: incompatible link kind for `c` | |
fc512014 | 63 | --> $DIR/disambiguator-mismatch.rs:49:14 |
3dfed10e XL |
64 | | |
65 | LL | /// Link to [static@c] | |
1b1a35ee | 66 | | ^^^^^^^^ help: to link to the constant, prefix with `const@`: `const@c` |
3dfed10e XL |
67 | | |
68 | = note: this link resolved to a constant, which is not a static | |
69 | ||
70 | error: incompatible link kind for `c` | |
fc512014 | 71 | --> $DIR/disambiguator-mismatch.rs:54:14 |
3dfed10e XL |
72 | | |
73 | LL | /// Link to [fn@c] | |
1b1a35ee | 74 | | ^^^^ help: to link to the constant, prefix with `const@`: `const@c` |
3dfed10e XL |
75 | | |
76 | = note: this link resolved to a constant, which is not a function | |
77 | ||
78 | error: incompatible link kind for `c` | |
fc512014 | 79 | --> $DIR/disambiguator-mismatch.rs:59:14 |
3dfed10e XL |
80 | | |
81 | LL | /// Link to [c()] | |
1b1a35ee | 82 | | ^^^ help: to link to the constant, prefix with `const@`: `const@c` |
3dfed10e XL |
83 | | |
84 | = note: this link resolved to a constant, which is not a function | |
85 | ||
86 | error: incompatible link kind for `f` | |
fc512014 | 87 | --> $DIR/disambiguator-mismatch.rs:64:14 |
3dfed10e XL |
88 | | |
89 | LL | /// Link to [const@f] | |
1b1a35ee | 90 | | ^^^^^^^ help: to link to the function, add parentheses: `f()` |
3dfed10e XL |
91 | | |
92 | = note: this link resolved to a function, which is not a constant | |
93 | ||
94 | error: aborting due to 11 previous errors | |
95 |