summary refs log tree commit diff
path: root/src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr
blob: 2f5f3daa297858f5a8155b68a809a2a3a13f84ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
error: incompatible link kind for `S`
  --> $DIR/disambiguator-mismatch.rs:14:14
   |
LL | /// Link to [struct@S]
   |              ^^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
   |
note: the lint level is defined here
  --> $DIR/disambiguator-mismatch.rs:1:9
   |
LL | #![deny(broken_intra_doc_links)]
   |         ^^^^^^^^^^^^^^^^^^^^^^
   = note: this link resolved to an enum, which is not a struct

error: incompatible link kind for `S`
  --> $DIR/disambiguator-mismatch.rs:19:14
   |
LL | /// Link to [mod@S]
   |              ^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
   |
   = note: this link resolved to an enum, which is not a module

error: incompatible link kind for `S`
  --> $DIR/disambiguator-mismatch.rs:24:14
   |
LL | /// Link to [union@S]
   |              ^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
   |
   = note: this link resolved to an enum, which is not a union

error: incompatible link kind for `S`
  --> $DIR/disambiguator-mismatch.rs:29:14
   |
LL | /// Link to [trait@S]
   |              ^^^^^^^ help: to link to the enum, prefix with `enum@`: `enum@S`
   |
   = note: this link resolved to an enum, which is not a trait

error: incompatible link kind for `T`
  --> $DIR/disambiguator-mismatch.rs:34:14
   |
LL | /// Link to [struct@T]
   |              ^^^^^^^^ help: to link to the trait, prefix with `trait@`: `trait@T`
   |
   = note: this link resolved to a trait, which is not a struct

error: incompatible link kind for `m`
  --> $DIR/disambiguator-mismatch.rs:39:14
   |
LL | /// Link to [derive@m]
   |              ^^^^^^^^ help: to link to the macro, add an exclamation mark: `m!`
   |
   = note: this link resolved to a macro, which is not a derive macro

error: incompatible link kind for `s`
  --> $DIR/disambiguator-mismatch.rs:44:14
   |
LL | /// Link to [const@s]
   |              ^^^^^^^ help: to link to the static, prefix with `static@`: `static@s`
   |
   = note: this link resolved to a static, which is not a constant

error: incompatible link kind for `c`
  --> $DIR/disambiguator-mismatch.rs:49:14
   |
LL | /// Link to [static@c]
   |              ^^^^^^^^ help: to link to the constant, prefix with `const@`: `const@c`
   |
   = note: this link resolved to a constant, which is not a static

error: incompatible link kind for `c`
  --> $DIR/disambiguator-mismatch.rs:54:14
   |
LL | /// Link to [fn@c]
   |              ^^^^ help: to link to the constant, prefix with `const@`: `const@c`
   |
   = note: this link resolved to a constant, which is not a function

error: incompatible link kind for `c`
  --> $DIR/disambiguator-mismatch.rs:59:14
   |
LL | /// Link to [c()]
   |              ^^^ help: to link to the constant, prefix with `const@`: `const@c`
   |
   = note: this link resolved to a constant, which is not a function

error: incompatible link kind for `f`
  --> $DIR/disambiguator-mismatch.rs:64:14
   |
LL | /// Link to [const@f]
   |              ^^^^^^^ help: to link to the function, add parentheses: `f()`
   |
   = note: this link resolved to a function, which is not a constant

error: aborting due to 11 previous errors