fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
6.0 KiB178 linesraw
1warning: `[Foo::baz]` cannot be resolved, ignoring it...
2  --> $DIR/intra-links-warning.rs:3:23
3   |
4LL |        //! 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
10warning: `[Bar::foo]` cannot be resolved, ignoring it...
11  --> $DIR/intra-links-warning.rs:3:35
12   |
13LL |        //! 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
18warning: `[Uniooon::X]` cannot be resolved, ignoring it...
19  --> $DIR/intra-links-warning.rs:4:13
20   |
21LL |      //! , [Uniooon::X] and [Qux::Z].
22   |             ^^^^^^^^^^ cannot be resolved, ignoring
23   |
24   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
25
26warning: `[Qux::Z]` cannot be resolved, ignoring it...
27  --> $DIR/intra-links-warning.rs:4:30
28   |
29LL |      //! , [Uniooon::X] and [Qux::Z].
30   |                              ^^^^^^ cannot be resolved, ignoring
31   |
32   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
33
34warning: `[Uniooon::X]` cannot be resolved, ignoring it...
35  --> $DIR/intra-links-warning.rs:6:14
36   |
37LL |       //! , [Uniooon::X] and [Qux::Z].
38   |              ^^^^^^^^^^ cannot be resolved, ignoring
39   |
40   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
41
42warning: `[Qux::Z]` cannot be resolved, ignoring it...
43  --> $DIR/intra-links-warning.rs:6:31
44   |
45LL |       //! , [Uniooon::X] and [Qux::Z].
46   |                               ^^^^^^ cannot be resolved, ignoring
47   |
48   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
49
50warning: `[Qux:Y]` cannot be resolved, ignoring it...
51  --> $DIR/intra-links-warning.rs:8:13
52   |
53LL |        /// [Qux:Y]
54   |             ^^^^^ cannot be resolved, ignoring
55   |
56   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
57
58warning: `[error]` cannot be resolved, ignoring it...
59  --> $DIR/intra-links-warning.rs:51:30
60   |
61LL |  * 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
66warning: `[error]` cannot be resolved, ignoring it...
67  --> $DIR/intra-links-warning.rs:57:30
68   |
69LL |  * 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
74warning: `[error]` cannot be resolved, ignoring it...
75  --> $DIR/intra-links-warning.rs:61:1
76   |
77LL | #[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
86warning: `[error]` cannot be resolved, ignoring it...
87  --> $DIR/intra-links-warning.rs:64:1
88   |
89LL | #[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
98warning: `[error]` cannot be resolved, ignoring it...
99  --> $DIR/intra-links-warning.rs:67:1
100   |
101LL | / /// Item docs.
102LL | | #[doc="Hello there!"]
103LL | | /// [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
112warning: `[error1]` cannot be resolved, ignoring it...
113  --> $DIR/intra-links-warning.rs:73:11
114   |
115LL | /// docs [error1]
116   |           ^^^^^^ cannot be resolved, ignoring
117   |
118   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
119
120warning: `[error2]` cannot be resolved, ignoring it...
121  --> $DIR/intra-links-warning.rs:75:11
122   |
123LL | /// docs [error2]
124   |           ^^^^^^ cannot be resolved, ignoring
125   |
126   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
127
128warning: `[BarA]` cannot be resolved, ignoring it...
129  --> $DIR/intra-links-warning.rs:14:10
130   |
131LL | /// bar [BarA] bar
132   |          ^^^^ cannot be resolved, ignoring
133   |
134   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
135
136warning: `[BarB]` cannot be resolved, ignoring it...
137  --> $DIR/intra-links-warning.rs:20:9
138   |
139LL |  * bar [BarB] bar
140   |         ^^^^ cannot be resolved, ignoring
141   |
142   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
143
144warning: `[BarC]` cannot be resolved, ignoring it...
145  --> $DIR/intra-links-warning.rs:27:6
146   |
147LL | bar [BarC] bar
148   |      ^^^^ cannot be resolved, ignoring
149   |
150   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
151
152warning: `[BarD]` cannot be resolved, ignoring it...
153  --> $DIR/intra-links-warning.rs:38:1
154   |
155LL | #[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
164warning: `[BarF]` cannot be resolved, ignoring it...
165  --> $DIR/intra-links-warning.rs:43:9
166   |
167LL |         #[doc = $f]
168   |         ^^^^^^^^^^^
169...
170LL | 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