@@ -36,6 +36,60 @@ warning: unresolved link to `Qux::Z`
36
36
LL | //! , [Uniooon::X] and [Qux::Z].
37
37
| ^^^^^^ no item named `Qux` in scope
38
38
39
+ warning: unresolved link to `BarA`
40
+ --> $DIR/intra-links-warning.rs:21:10
41
+ |
42
+ LL | /// bar [BarA] bar
43
+ | ^^^^ no item named `BarA` in scope
44
+ |
45
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
46
+
47
+ warning: unresolved link to `BarB`
48
+ --> $DIR/intra-links-warning.rs:27:9
49
+ |
50
+ LL | * bar [BarB] bar
51
+ | ^^^^ no item named `BarB` in scope
52
+ |
53
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
54
+
55
+ warning: unresolved link to `BarC`
56
+ --> $DIR/intra-links-warning.rs:34:6
57
+ |
58
+ LL | bar [BarC] bar
59
+ | ^^^^ no item named `BarC` in scope
60
+ |
61
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
62
+
63
+ warning: unresolved link to `BarD`
64
+ --> $DIR/intra-links-warning.rs:45:1
65
+ |
66
+ LL | #[doc = "Foo\nbar [BarD] bar\nbaz"]
67
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68
+ |
69
+ = note: the link appears in this line:
70
+
71
+ bar [BarD] bar
72
+ ^^^^
73
+ = note: no item named `BarD` in scope
74
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
75
+
76
+ warning: unresolved link to `BarF`
77
+ --> $DIR/intra-links-warning.rs:50:9
78
+ |
79
+ LL | #[doc = $f]
80
+ | ^^^^^^^^^^^
81
+ ...
82
+ LL | f!("Foo\nbar [BarF] bar\nbaz");
83
+ | ------------------------------- in this macro invocation
84
+ |
85
+ = note: the link appears in this line:
86
+
87
+ bar [BarF] bar
88
+ ^^^^
89
+ = note: no item named `BarF` in scope
90
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
91
+ = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
92
+
39
93
warning: unresolved link to `Qux:Y`
40
94
--> $DIR/intra-links-warning.rs:14:13
41
95
|
@@ -117,59 +171,5 @@ LL | /// docs [error2]
117
171
|
118
172
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
119
173
120
- warning: unresolved link to `BarA`
121
- --> $DIR/intra-links-warning.rs:21:10
122
- |
123
- LL | /// bar [BarA] bar
124
- | ^^^^ no item named `BarA` in scope
125
- |
126
- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
127
-
128
- warning: unresolved link to `BarB`
129
- --> $DIR/intra-links-warning.rs:27:9
130
- |
131
- LL | * bar [BarB] bar
132
- | ^^^^ no item named `BarB` in scope
133
- |
134
- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
135
-
136
- warning: unresolved link to `BarC`
137
- --> $DIR/intra-links-warning.rs:34:6
138
- |
139
- LL | bar [BarC] bar
140
- | ^^^^ no item named `BarC` in scope
141
- |
142
- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
143
-
144
- warning: unresolved link to `BarD`
145
- --> $DIR/intra-links-warning.rs:45:1
146
- |
147
- LL | #[doc = "Foo\nbar [BarD] bar\nbaz"]
148
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
149
- |
150
- = note: the link appears in this line:
151
-
152
- bar [BarD] bar
153
- ^^^^
154
- = note: no item named `BarD` in scope
155
- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
156
-
157
- warning: unresolved link to `BarF`
158
- --> $DIR/intra-links-warning.rs:50:9
159
- |
160
- LL | #[doc = $f]
161
- | ^^^^^^^^^^^
162
- ...
163
- LL | f!("Foo\nbar [BarF] bar\nbaz");
164
- | ------------------------------- in this macro invocation
165
- |
166
- = note: the link appears in this line:
167
-
168
- bar [BarF] bar
169
- ^^^^
170
- = note: no item named `BarF` in scope
171
- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
172
- = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
173
-
174
174
warning: 19 warnings emitted
175
175
0 commit comments