]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / rustdoc-ui / intra-doc / disambiguator-mismatch.stderr
CommitLineData
3dfed10e 1error: incompatible link kind for `S`
fc512014 2 --> $DIR/disambiguator-mismatch.rs:14:14
3dfed10e
XL
3 |
4LL | /// Link to [struct@S]
1b1a35ee 5 | ^^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
3dfed10e
XL
6 |
7note: the lint level is defined here
fc512014 8 --> $DIR/disambiguator-mismatch.rs:1:9
3dfed10e 9 |
6a06907d
XL
10LL | #![deny(rustdoc::broken_intra_doc_links)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3dfed10e
XL
12 = note: this link resolved to an enum, which is not a struct
13
14error: incompatible link kind for `S`
fc512014 15 --> $DIR/disambiguator-mismatch.rs:19:14
3dfed10e
XL
16 |
17LL | /// 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
22error: incompatible link kind for `S`
fc512014 23 --> $DIR/disambiguator-mismatch.rs:24:14
3dfed10e
XL
24 |
25LL | /// 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
30error: incompatible link kind for `S`
fc512014 31 --> $DIR/disambiguator-mismatch.rs:29:14
3dfed10e
XL
32 |
33LL | /// 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
38error: incompatible link kind for `T`
fc512014 39 --> $DIR/disambiguator-mismatch.rs:34:14
3dfed10e
XL
40 |
41LL | /// 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
46error: incompatible link kind for `m`
fc512014 47 --> $DIR/disambiguator-mismatch.rs:39:14
3dfed10e
XL
48 |
49LL | /// 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
54error: incompatible link kind for `s`
fc512014 55 --> $DIR/disambiguator-mismatch.rs:44:14
3dfed10e
XL
56 |
57LL | /// 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
62error: incompatible link kind for `c`
fc512014 63 --> $DIR/disambiguator-mismatch.rs:49:14
3dfed10e
XL
64 |
65LL | /// 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
70error: incompatible link kind for `c`
fc512014 71 --> $DIR/disambiguator-mismatch.rs:54:14
3dfed10e
XL
72 |
73LL | /// 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
78error: incompatible link kind for `c`
fc512014 79 --> $DIR/disambiguator-mismatch.rs:59:14
3dfed10e
XL
80 |
81LL | /// 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
86error: incompatible link kind for `f`
fc512014 87 --> $DIR/disambiguator-mismatch.rs:64:14
3dfed10e
XL
88 |
89LL | /// 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
94error: aborting due to 11 previous errors
95