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