1- error: unresolved link to `S`
1+ error: incompatible link kind for `S`
22 --> $DIR/intra-links-disambiguator-mismatch.rs:14:14
33 |
44LL | /// Link to [struct@S]
@@ -11,71 +11,71 @@ LL | #![deny(broken_intra_doc_links)]
1111 | ^^^^^^^^^^^^^^^^^^^^^^
1212 = note: this link resolved to an enum, which is not a struct
1313
14- error: unresolved link to `S`
14+ error: incompatible link kind for `S`
1515 --> $DIR/intra-links-disambiguator-mismatch.rs:19:14
1616 |
1717LL | /// Link to [mod@S]
1818 | ^^^^^ help: to link to the enum, use its disambiguator: `enum@S`
1919 |
2020 = note: this link resolved to an enum, which is not a module
2121
22- error: unresolved link to `S`
22+ error: incompatible link kind for `S`
2323 --> $DIR/intra-links-disambiguator-mismatch.rs:24:14
2424 |
2525LL | /// Link to [union@S]
2626 | ^^^^^^^ help: to link to the enum, use its disambiguator: `enum@S`
2727 |
2828 = note: this link resolved to an enum, which is not a union
2929
30- error: unresolved link to `S`
30+ error: incompatible link kind for `S`
3131 --> $DIR/intra-links-disambiguator-mismatch.rs:29:14
3232 |
3333LL | /// Link to [trait@S]
3434 | ^^^^^^^ help: to link to the enum, use its disambiguator: `enum@S`
3535 |
3636 = note: this link resolved to an enum, which is not a trait
3737
38- error: unresolved link to `T`
38+ error: incompatible link kind for `T`
3939 --> $DIR/intra-links-disambiguator-mismatch.rs:34:14
4040 |
4141LL | /// Link to [struct@T]
4242 | ^^^^^^^^ help: to link to the trait, use its disambiguator: `trait@T`
4343 |
4444 = note: this link resolved to a trait, which is not a struct
4545
46- error: unresolved link to `m`
46+ error: incompatible link kind for `m`
4747 --> $DIR/intra-links-disambiguator-mismatch.rs:39:14
4848 |
4949LL | /// Link to [derive@m]
5050 | ^^^^^^^^ help: to link to the macro, use its disambiguator: `m!`
5151 |
5252 = note: this link resolved to a macro, which is not a derive macro
5353
54- error: unresolved link to `s`
54+ error: incompatible link kind for `s`
5555 --> $DIR/intra-links-disambiguator-mismatch.rs:44:14
5656 |
5757LL | /// Link to [const@s]
5858 | ^^^^^^^ help: to link to the static, use its disambiguator: `static@s`
5959 |
6060 = note: this link resolved to a static, which is not a constant
6161
62- error: unresolved link to `c`
62+ error: incompatible link kind for `c`
6363 --> $DIR/intra-links-disambiguator-mismatch.rs:49:14
6464 |
6565LL | /// Link to [static@c]
6666 | ^^^^^^^^ help: to link to the constant, use its disambiguator: `const@c`
6767 |
6868 = note: this link resolved to a constant, which is not a static
6969
70- error: unresolved link to `c`
70+ error: incompatible link kind for `c`
7171 --> $DIR/intra-links-disambiguator-mismatch.rs:54:14
7272 |
7373LL | /// Link to [fn@c]
7474 | ^^^^ help: to link to the constant, use its disambiguator: `const@c`
7575 |
7676 = note: this link resolved to a constant, which is not a function
7777
78- error: unresolved link to `c`
78+ error: incompatible link kind for `c`
7979 --> $DIR/intra-links-disambiguator-mismatch.rs:59:14
8080 |
8181LL | /// Link to [c()]
0 commit comments