@@ -5,71 +5,71 @@ LL | //! Test with [Foo::baz], [Bar::foo], ...
55 | ^^^^^^^^ cannot be resolved, ignoring
66 |
77 = 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 `\ ]`
99
1010warning: `[Bar::foo]` cannot be resolved, ignoring it...
1111 --> $DIR/intra-links-warning.rs:3:35
1212 |
1313LL | //! Test with [Foo::baz], [Bar::foo], ...
1414 | ^^^^^^^^ cannot be resolved, ignoring
1515 |
16- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
16+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
1717
1818warning: `[Uniooon::X]` cannot be resolved, ignoring it...
1919 --> $DIR/intra-links-warning.rs:4:13
2020 |
2121LL | //! , [Uniooon::X] and [Qux::Z].
2222 | ^^^^^^^^^^ cannot be resolved, ignoring
2323 |
24- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
24+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
2525
2626warning: `[Qux::Z]` cannot be resolved, ignoring it...
2727 --> $DIR/intra-links-warning.rs:4:30
2828 |
2929LL | //! , [Uniooon::X] and [Qux::Z].
3030 | ^^^^^^ cannot be resolved, ignoring
3131 |
32- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
32+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
3333
3434warning: `[Uniooon::X]` cannot be resolved, ignoring it...
3535 --> $DIR/intra-links-warning.rs:6:14
3636 |
3737LL | //! , [Uniooon::X] and [Qux::Z].
3838 | ^^^^^^^^^^ cannot be resolved, ignoring
3939 |
40- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
40+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
4141
4242warning: `[Qux::Z]` cannot be resolved, ignoring it...
4343 --> $DIR/intra-links-warning.rs:6:31
4444 |
4545LL | //! , [Uniooon::X] and [Qux::Z].
4646 | ^^^^^^ cannot be resolved, ignoring
4747 |
48- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
48+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
4949
5050warning: `[Qux:Y]` cannot be resolved, ignoring it...
5151 --> $DIR/intra-links-warning.rs:8:13
5252 |
5353LL | /// [Qux:Y]
5454 | ^^^^^ cannot be resolved, ignoring
5555 |
56- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
56+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
5757
5858warning: `[error]` cannot be resolved, ignoring it...
5959 --> $DIR/intra-links-warning.rs:51:30
6060 |
6161LL | * time to introduce a link [error]*/
6262 | ^^^^^ cannot be resolved, ignoring
6363 |
64- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
64+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
6565
6666warning: `[error]` cannot be resolved, ignoring it...
6767 --> $DIR/intra-links-warning.rs:57:30
6868 |
6969LL | * time to introduce a link [error]
7070 | ^^^^^ cannot be resolved, ignoring
7171 |
72- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
72+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
7373
7474warning: `[error]` cannot be resolved, ignoring it...
7575 --> $DIR/intra-links-warning.rs:61:1
@@ -81,19 +81,19 @@ LL | #[doc = "single line [error]"]
8181
8282 single line [error]
8383 ^^^^^
84- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
84+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
8585
8686warning: `[error]` cannot be resolved, ignoring it...
8787 --> $DIR/intra-links-warning.rs:64:1
8888 |
89- LL | #[doc = "single line with / "escaping/ " [error]"]
89+ LL | #[doc = "single line with \ "escaping\ " [error]"]
9090 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9191 |
9292 = note: the link appears in this line:
9393
9494 single line with "escaping" [error]
9595 ^^^^^
96- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
96+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
9797
9898warning: `[error]` cannot be resolved, ignoring it...
9999 --> $DIR/intra-links-warning.rs:67:1
@@ -107,72 +107,72 @@ LL | | /// [error]
107107
108108 [error]
109109 ^^^^^
110- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
110+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
111111
112112warning: `[error1]` cannot be resolved, ignoring it...
113113 --> $DIR/intra-links-warning.rs:73:11
114114 |
115115LL | /// docs [error1]
116116 | ^^^^^^ cannot be resolved, ignoring
117117 |
118- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
118+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
119119
120120warning: `[error2]` cannot be resolved, ignoring it...
121121 --> $DIR/intra-links-warning.rs:75:11
122122 |
123123LL | /// docs [error2]
124124 | ^^^^^^ cannot be resolved, ignoring
125125 |
126- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
126+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
127127
128128warning: `[BarA]` cannot be resolved, ignoring it...
129129 --> $DIR/intra-links-warning.rs:14:10
130130 |
131131LL | /// bar [BarA] bar
132132 | ^^^^ cannot be resolved, ignoring
133133 |
134- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
134+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
135135
136136warning: `[BarB]` cannot be resolved, ignoring it...
137137 --> $DIR/intra-links-warning.rs:20:9
138138 |
139139LL | * bar [BarB] bar
140140 | ^^^^ cannot be resolved, ignoring
141141 |
142- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
142+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
143143
144144warning: `[BarC]` cannot be resolved, ignoring it...
145145 --> $DIR/intra-links-warning.rs:27:6
146146 |
147147LL | bar [BarC] bar
148148 | ^^^^ cannot be resolved, ignoring
149149 |
150- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
150+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
151151
152152warning: `[BarD]` cannot be resolved, ignoring it...
153153 --> $DIR/intra-links-warning.rs:38:1
154154 |
155- LL | #[doc = "Foo/ nbar [BarD] bar/ nbaz"]
155+ LL | #[doc = "Foo\ nbar [BarD] bar\ nbaz"]
156156 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
157157 |
158158 = note: the link appears in this line:
159159
160160 bar [BarD] bar
161161 ^^^^
162- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
162+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
163163
164164warning: `[BarF]` cannot be resolved, ignoring it...
165165 --> $DIR/intra-links-warning.rs:43:9
166166 |
167167LL | #[doc = $f]
168168 | ^^^^^^^^^^^
169169...
170- LL | f!("Foo/ nbar [BarF] bar/ nbaz");
170+ LL | f!("Foo\ nbar [BarF] bar\ nbaz");
171171 | ------------------------------- in this macro invocation
172172 |
173173 = note: the link appears in this line:
174174
175175 bar [BarF] bar
176176 ^^^^
177- = help: to escape `[` and `]` characters, just add '/ ' before them like `/ [` or `/ ]`
177+ = help: to escape `[` and `]` characters, just add '\ ' before them like `\ [` or `\ ]`
178178
0 commit comments