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