1 warning: unresolved link to `Foo::baz`
2 --> $DIR/intra-links-warning.rs:3:23
4 LL | //! Test with [Foo::baz], [Bar::foo], ...
5 | ^^^^^^^^ the struct `Foo` has no field or associated item named `baz`
7 = note: `#[warn(broken_intra_doc_links)]` on by default
9 warning: unresolved link to `Bar::foo`
10 --> $DIR/intra-links-warning.rs:3:35
12 LL | //! Test with [Foo::baz], [Bar::foo], ...
13 | ^^^^^^^^ no item named `Bar` in scope
15 warning: unresolved link to `Uniooon::X`
16 --> $DIR/intra-links-warning.rs:6:13
18 LL | //! , [Uniooon::X] and [Qux::Z].
19 | ^^^^^^^^^^ no item named `Uniooon` in scope
21 warning: unresolved link to `Qux::Z`
22 --> $DIR/intra-links-warning.rs:6:30
24 LL | //! , [Uniooon::X] and [Qux::Z].
25 | ^^^^^^ no item named `Qux` in scope
27 warning: unresolved link to `Uniooon::X`
28 --> $DIR/intra-links-warning.rs:10:14
30 LL | //! , [Uniooon::X] and [Qux::Z].
31 | ^^^^^^^^^^ no item named `Uniooon` in scope
33 warning: unresolved link to `Qux::Z`
34 --> $DIR/intra-links-warning.rs:10:31
36 LL | //! , [Uniooon::X] and [Qux::Z].
37 | ^^^^^^ no item named `Qux` in scope
39 warning: unresolved link to `Qux:Y`
40 --> $DIR/intra-links-warning.rs:14:13
43 | ^^^^^ no item named `Qux:Y` in scope
45 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
47 warning: unresolved link to `error`
48 --> $DIR/intra-links-warning.rs:58:30
50 LL | * time to introduce a link [error]*/
51 | ^^^^^ no item named `error` in scope
53 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
55 warning: unresolved link to `error`
56 --> $DIR/intra-links-warning.rs:64:30
58 LL | * time to introduce a link [error]
59 | ^^^^^ no item named `error` in scope
61 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
63 warning: unresolved link to `error`
64 --> $DIR/intra-links-warning.rs:68:1
66 LL | #[doc = "single line [error]"]
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
69 = note: the link appears in this line:
73 = note: no item named `error` in scope
74 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
76 warning: unresolved link to `error`
77 --> $DIR/intra-links-warning.rs:71:1
79 LL | #[doc = "single line with \"escaping\" [error]"]
80 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82 = note: the link appears in this line:
84 single line with "escaping" [error]
86 = note: no item named `error` in scope
87 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
89 warning: unresolved link to `error`
90 --> $DIR/intra-links-warning.rs:74:1
93 LL | | #[doc="Hello there!"]
97 = note: the link appears in this line:
101 = note: no item named `error` in scope
102 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
104 warning: unresolved link to `error1`
105 --> $DIR/intra-links-warning.rs:80:11
107 LL | /// docs [error1]
108 | ^^^^^^ no item named `error1` in scope
110 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
112 warning: unresolved link to `error2`
113 --> $DIR/intra-links-warning.rs:82:11
115 LL | /// docs [error2]
116 | ^^^^^^ no item named `error2` in scope
118 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
120 warning: unresolved link to `BarA`
121 --> $DIR/intra-links-warning.rs:21:10
123 LL | /// bar [BarA] bar
124 | ^^^^ no item named `BarA` in scope
126 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
128 warning: unresolved link to `BarB`
129 --> $DIR/intra-links-warning.rs:27:9
131 LL | * bar [BarB] bar
132 | ^^^^ no item named `BarB` in scope
134 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
136 warning: unresolved link to `BarC`
137 --> $DIR/intra-links-warning.rs:34:6
140 | ^^^^ no item named `BarC` in scope
142 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
144 warning: unresolved link to `BarD`
145 --> $DIR/intra-links-warning.rs:45:1
147 LL | #[doc = "Foo\nbar [BarD] bar\nbaz"]
148 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
150 = note: the link appears in this line:
154 = note: no item named `BarD` in scope
155 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
157 warning: unresolved link to `BarF`
158 --> $DIR/intra-links-warning.rs:50:9
163 LL | f!("Foo\nbar [BarF] bar\nbaz");
164 | ------------------------------- in this macro invocation
166 = note: the link appears in this line:
170 = note: no item named `BarF` in scope
171 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
172 = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
174 warning: 19 warnings emitted