2 #![deny(rustdoc::invalid_html_tags)]
4 /// This Vec<i32> thing!
5 //~^ERROR unclosed HTML tag `i32`
6 //~|HELP try marking as source
9 /// This vec::Vec<i32> thing!
10 //~^ERROR unclosed HTML tag `i32`
11 //~|HELP try marking as source
12 pub struct GenericPath;
14 /// This i32<i32> thing!
15 //~^ERROR unclosed HTML tag `i32`
16 //~|HELP try marking as source
17 pub struct PathsCanContainTrailingNumbers;
19 /// This Vec::<i32> thing!
20 //~^ERROR unclosed HTML tag `i32`
21 //~|HELP try marking as source
24 /// This [link](https://rust-lang.org)::<i32> thing!
25 //~^ERROR unclosed HTML tag `i32`
26 //~|HELP try marking as source
27 pub struct BareTurbofish;
29 /// This <span>Vec::<i32></span> thing!
30 //~^ERROR unclosed HTML tag `i32`
31 //~|HELP try marking as source