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
34 /// Nested generics `Vec<Vec<u32>>`
35 //~^ ERROR unclosed HTML tag `u32`
36 //~|HELP try marking as source
37 pub struct NestedGenerics;
39 /// Generics with path `Vec<i32>::Iter`
40 //~^ ERROR unclosed HTML tag `i32`
41 //~|HELP try marking as source
42 pub struct GenericsWithPath;
44 /// Generics with path `<Vec<i32>>::Iter`
45 //~^ ERROR unclosed HTML tag `i32`
46 //~|HELP try marking as source
47 pub struct NestedGenericsWithPath;
49 /// Generics with path `Vec<Vec<i32>>::Iter`
50 //~^ ERROR unclosed HTML tag `i32`
51 //~|HELP try marking as source
52 pub struct NestedGenericsWithPath2;
54 /// Generics with bump `<Vec<i32>>`s
55 //~^ ERROR unclosed HTML tag `i32`
56 //~|HELP try marking as source
57 pub struct NestedGenericsWithBump;
59 /// Generics with bump `Vec<Vec<i32>>`s
60 //~^ ERROR unclosed HTML tag `i32`
61 //~|HELP try marking as source
62 pub struct NestedGenericsWithBump2;
64 /// Generics with punct `<Vec<i32>>`!
65 //~^ ERROR unclosed HTML tag `i32`
66 //~|HELP try marking as source
67 pub struct NestedGenericsWithPunct;
69 /// Generics with punct `Vec<Vec<i32>>`!
70 //~^ ERROR unclosed HTML tag `i32`
71 //~|HELP try marking as source
72 pub struct NestedGenericsWithPunct2;
74 /// This [`Vec<i32>`] thing!
75 //~^ERROR unclosed HTML tag `i32`
76 //~|HELP try marking as source
77 pub struct IntraDocLink;
79 /// This [`Vec::<i32>`] thing!
80 //~^ERROR unclosed HTML tag `i32`
81 //~|HELP try marking as source
82 pub struct IntraDocLinkTurbofish;