1 #![deny(rustdoc::invalid_html_tags)]
2 #![deny(rustdoc::broken_intra_doc_links)]
4 pub struct ExistentStruct<T>(T);
6 /// This [test][ExistentStruct<i32>] thing!
9 /// This [ExistentStruct<i32>] thing!
10 //~^ ERROR unclosed HTML tag `i32`
11 pub struct PartialErrorOnlyHtml;
13 /// This [test][NonExistentStruct<i32>] thing!
14 //~^ ERROR unresolved link
15 pub struct PartialErrorOnlyResolve;
17 /// This [NonExistentStruct2<i32>] thing!
18 //~^ ERROR unclosed HTML tag `i32`
19 //~| ERROR unresolved link
22 /// This [NonExistentStruct3<i32>][] thing!
23 //~^ ERROR unclosed HTML tag `i32`
24 //~| ERROR unresolved link
25 pub struct YesErrorCollapsed;