]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/invalid-html-tags.stderr
Improve code
[rust.git] / src / test / rustdoc-ui / invalid-html-tags.stderr
1 error: unclosed HTML tag `unknown`
2   --> $DIR/invalid-html-tags.rs:7:5
3    |
4 LL | /// <unknown>
5    |     ^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/invalid-html-tags.rs:1:9
9    |
10 LL | #![deny(invalid_html_tags)]
11    |         ^^^^^^^^^^^^^^^^^
12
13 error: unclosed HTML tag `script`
14   --> $DIR/invalid-html-tags.rs:10:5
15    |
16 LL | /// <script>
17    |     ^^^^^^^^
18
19 error: unclosed HTML tag `h2`
20   --> $DIR/invalid-html-tags.rs:15:7
21    |
22 LL | ///   <h2>
23    |       ^^^^
24
25 error: unclosed HTML tag `h3`
26   --> $DIR/invalid-html-tags.rs:17:9
27    |
28 LL | ///     <h3>
29    |         ^^^^
30
31 error: unopened HTML tag `hello`
32   --> $DIR/invalid-html-tags.rs:20:5
33    |
34 LL | /// </hello>
35    |     ^^^^^^^^
36
37 error: unclosed HTML tag `p`
38   --> $DIR/invalid-html-tags.rs:25:14
39    |
40 LL | ///    <br/> <p>
41    |              ^^^
42
43 error: unclosed HTML tag `div`
44   --> $DIR/invalid-html-tags.rs:37:5
45    |
46 LL | /// <div style="hello">
47    |     ^^^^
48
49 error: unclosed HTML tag `h3`
50   --> $DIR/invalid-html-tags.rs:39:7
51    |
52 LL | ///   <h3>
53    |       ^^^^
54
55 error: aborting due to 8 previous errors
56