@@ -3,48 +3,65 @@ warning: `[Foo::baz]` cannot be resolved, ignoring it...
3
3
|
4
4
13 | //! Test with [Foo::baz], [Bar::foo], ...
5
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 `/]`
6
9
7
10
warning: `[Bar::foo]` cannot be resolved, ignoring it...
8
11
--> $DIR/intra-links-warning.rs:13:35
9
12
|
10
13
13 | //! Test with [Foo::baz], [Bar::foo], ...
11
14
| ^^^^^^^^ cannot be resolved, ignoring
15
+ |
16
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
12
17
13
18
warning: `[Uniooon::X]` cannot be resolved, ignoring it...
14
19
--> $DIR/intra-links-warning.rs:14:13
15
20
|
16
21
14 | //! , [Uniooon::X] and [Qux::Z].
17
22
| ^^^^^^^^^^ cannot be resolved, ignoring
23
+ |
24
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
18
25
19
26
warning: `[Qux::Z]` cannot be resolved, ignoring it...
20
27
--> $DIR/intra-links-warning.rs:14:30
21
28
|
22
29
14 | //! , [Uniooon::X] and [Qux::Z].
23
30
| ^^^^^^ cannot be resolved, ignoring
31
+ |
32
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
24
33
25
34
warning: `[Uniooon::X]` cannot be resolved, ignoring it...
26
35
--> $DIR/intra-links-warning.rs:16:14
27
36
|
28
37
16 | //! , [Uniooon::X] and [Qux::Z].
29
38
| ^^^^^^^^^^ cannot be resolved, ignoring
39
+ |
40
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
30
41
31
42
warning: `[Qux::Z]` cannot be resolved, ignoring it...
32
43
--> $DIR/intra-links-warning.rs:16:31
33
44
|
34
45
16 | //! , [Uniooon::X] and [Qux::Z].
35
46
| ^^^^^^ cannot be resolved, ignoring
47
+ |
48
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
36
49
37
50
warning: `[Qux:Y]` cannot be resolved, ignoring it...
38
51
--> $DIR/intra-links-warning.rs:18:13
39
52
|
40
53
18 | /// [Qux:Y]
41
54
| ^^^^^ cannot be resolved, ignoring
55
+ |
56
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
42
57
43
58
warning: `[BarA]` cannot be resolved, ignoring it...
44
59
--> $DIR/intra-links-warning.rs:24:10
45
60
|
46
61
24 | /// bar [BarA] bar
47
62
| ^^^^ cannot be resolved, ignoring
63
+ |
64
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
48
65
49
66
warning: `[BarB]` cannot be resolved, ignoring it...
50
67
--> $DIR/intra-links-warning.rs:28:1
@@ -60,6 +77,7 @@ warning: `[BarB]` cannot be resolved, ignoring it...
60
77
61
78
bar [BarB] bar
62
79
^^^^
80
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
63
81
64
82
warning: `[BarC]` cannot be resolved, ignoring it...
65
83
--> $DIR/intra-links-warning.rs:35:1
@@ -77,6 +95,7 @@ warning: `[BarC]` cannot be resolved, ignoring it...
77
95
78
96
bar [BarC] bar
79
97
^^^^
98
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
80
99
81
100
warning: `[BarD]` cannot be resolved, ignoring it...
82
101
--> $DIR/intra-links-warning.rs:48:1
@@ -88,6 +107,7 @@ warning: `[BarD]` cannot be resolved, ignoring it...
88
107
89
108
bar [BarD] bar
90
109
^^^^
110
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
91
111
92
112
warning: `[BarF]` cannot be resolved, ignoring it...
93
113
--> $DIR/intra-links-warning.rs:53:9
@@ -102,4 +122,5 @@ warning: `[BarF]` cannot be resolved, ignoring it...
102
122
103
123
bar [BarF] bar
104
124
^^^^
125
+ = help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
105
126
0 commit comments