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