1warning: unresolved link to `Foo::baz`
2  --> $DIR/warning.rs:3:23
3   |
4LL |        //! Test with [Foo::baz], [Bar::foo], ...
5   |                       ^^^^^^^^ the struct `Foo` has no field or associated item named `baz`
6   |
7   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
8
9warning: unresolved link to `Bar::foo`
10  --> $DIR/warning.rs:3:35
11   |
12LL |        //! Test with [Foo::baz], [Bar::foo], ...
13   |                                   ^^^^^^^^ no item named `Bar` in scope
14
15warning: unresolved link to `Uniooon::X`
16  --> $DIR/warning.rs:6:13
17   |
18LL |      //! , [Uniooon::X] and [Qux::Z].
19   |             ^^^^^^^^^^ no item named `Uniooon` in scope
20
21warning: unresolved link to `Qux::Z`
22  --> $DIR/warning.rs:6:30
23   |
24LL |      //! , [Uniooon::X] and [Qux::Z].
25   |                              ^^^^^^ no item named `Qux` in scope
26
27warning: unresolved link to `Uniooon::X`
28  --> $DIR/warning.rs:10:14
29   |
30LL |       //! , [Uniooon::X] and [Qux::Z].
31   |              ^^^^^^^^^^ no item named `Uniooon` in scope
32
33warning: unresolved link to `Qux::Z`
34  --> $DIR/warning.rs:10:31
35   |
36LL |       //! , [Uniooon::X] and [Qux::Z].
37   |                               ^^^^^^ no item named `Qux` in scope
38
39warning: unresolved link to `Qux:Y`
40  --> $DIR/warning.rs:14:13
41   |
42LL |        /// [Qux:Y]
43   |             ^^^^^ no item named `Qux:Y` in scope
44   |
45   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
46
47warning: unresolved link to `BarA`
48  --> $DIR/warning.rs:21:10
49   |
50LL | /// bar [BarA] bar
51   |          ^^^^ no item named `BarA` in scope
52   |
53   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
54
55warning: unresolved link to `BarB`
56  --> $DIR/warning.rs:27:9
57   |
58LL |  * bar [BarB] bar
59   |         ^^^^ no item named `BarB` in scope
60   |
61   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
62
63warning: unresolved link to `BarC`
64  --> $DIR/warning.rs:34:6
65   |
66LL | bar [BarC] bar
67   |      ^^^^ no item named `BarC` in scope
68   |
69   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
70
71warning: unresolved link to `BarD`
72  --> $DIR/warning.rs:45:1
73   |
74LL | #[doc = "Foo\nbar [BarD] bar\nbaz"]
75   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76   |
77   = note: the link appears in this line:
78
79           bar [BarD] bar
80                ^^^^
81   = note: no item named `BarD` in scope
82   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
83
84warning: unresolved link to `BarF`
85  --> $DIR/warning.rs:50:9
86   |
87LL |         #[doc = $f]
88   |         ^^^^^^^^^^^
89...
90LL | f!("Foo\nbar [BarF] bar\nbaz");
91   | ------------------------------ in this macro invocation
92   |
93   = note: the link appears in this line:
94
95           bar [BarF] bar
96                ^^^^
97   = note: no item named `BarF` in scope
98   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
99   = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info)
100
101warning: unresolved link to `error`
102  --> $DIR/warning.rs:58:30
103   |
104LL |  * time to introduce a link [error]*/
105   |                              ^^^^^ no item named `error` in scope
106   |
107   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
108
109warning: unresolved link to `error`
110  --> $DIR/warning.rs:64:30
111   |
112LL |  * time to introduce a link [error]
113   |                              ^^^^^ no item named `error` in scope
114   |
115   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
116
117warning: unresolved link to `error`
118  --> $DIR/warning.rs:68:1
119   |
120LL | #[doc = "single line [error]"]
121   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122   |
123   = note: the link appears in this line:
124
125           single line [error]
126                        ^^^^^
127   = note: no item named `error` in scope
128   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
129
130warning: unresolved link to `error`
131  --> $DIR/warning.rs:71:1
132   |
133LL | #[doc = "single line with \"escaping\" [error]"]
134   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
135   |
136   = note: the link appears in this line:
137
138           single line with "escaping" [error]
139                                        ^^^^^
140   = note: no item named `error` in scope
141   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
142
143warning: unresolved link to `error`
144  --> $DIR/warning.rs:74:1
145   |
146LL | / /// Item docs.
147LL | | #[doc="Hello there!"]
148LL | | /// [error]
149   | |___________^
150   |
151   = note: the link appears in this line:
152
153           [error]
154            ^^^^^
155   = note: no item named `error` in scope
156   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
157
158warning: unresolved link to `error1`
159  --> $DIR/warning.rs:80:11
160   |
161LL | /// docs [error1]
162   |           ^^^^^^ no item named `error1` in scope
163   |
164   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
165
166warning: unresolved link to `error2`
167  --> $DIR/warning.rs:82:11
168   |
169LL | /// docs [error2]
170   |           ^^^^^^ no item named `error2` in scope
171   |
172   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
173
174warning: 19 warnings emitted
175
176