File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,11 @@ fn issue_2343() {}
203
203
/// __|_ _|__||_|
204
204
fn pulldown_cmark_crash ( ) { }
205
205
206
+ /// This should not lint
207
+ /// (regression test for #7758)
208
+ /// [plain text][path::to::item]
209
+ fn intra_doc_link ( ) { }
210
+
206
211
// issue #7033 - generic_const_exprs ICE
207
212
struct S < T , const N : usize >
208
213
where [ ( ) ; N . checked_next_power_of_two ( ) . unwrap ( ) ] : {
Original file line number Diff line number Diff line change @@ -186,5 +186,11 @@ error: you should put `mycrate::Collection` between ticks in the documentation
186
186
LL | /// An iterator over mycrate::Collection's values.
187
187
| ^^^^^^^^^^^^^^^^^^^
188
188
189
- error: aborting due to 31 previous errors
189
+ error: you should put `text][path::to::item` between ticks in the documentation
190
+ --> $DIR/doc.rs:208:12
191
+ |
192
+ LL | /// [plain text][path::to::item]
193
+ | ^^^^^^^^^^^^^^^^^^^^
194
+
195
+ error: aborting due to 32 previous errors
190
196
You can’t perform that action at this time.
0 commit comments