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