1 #![deny(rustdoc::invalid_html_tags)]
4 //~^ ERROR unclosed HTML tag `p`
5 //~^^ ERROR unclosed HTML tag `p`
12 //~^ ERROR unclosed HTML tag `unknown`
15 //~^ ERROR unclosed HTML tag `script`
20 //~^ ERROR unclosed HTML tag `h2`
22 //~^ ERROR unclosed HTML tag `h3`
25 //~^ ERROR unopened HTML tag `hello`
30 //~^ ERROR unclosed HTML tag `p`
41 /// <div style="hello">
42 //~^ ERROR unclosed HTML tag `div`
44 //~^ ERROR unclosed HTML tag `h3`
46 //~^ ERROR unclosed HTML tag `script`
49 // Unclosed tags shouldn't warn if they are nested inside a <script> elem.
60 // Unclosed tags shouldn't warn if they are nested inside a <style> elem.
71 // Closing tags need to have ">" at the end, otherwise it's not a closing tag!
74 //~^ ERROR unclosed HTML tag `div`
88 //~^ ERROR Unclosed HTML comment
94 /// uiapp.run(&env::args().collect::<Vec<_>>());
98 // Check that nested codeblocks are working as well
105 /// uiapp.run(&env::args().collect::<Vec<_>>());
108 /// <Vec<_> shouldn't warn!