blob: 9c2bfcf2c3dd71af45e36cc2265a68fc5f0684f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
error: unclosed HTML tag `p`
--> $DIR/invalid-html-tags.rs:3:5
|
LL | //! <p>💩<p>
| ^^^
|
note: the lint level is defined here
--> $DIR/invalid-html-tags.rs:1:9
|
LL | #![deny(rustdoc::invalid_html_tags)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unclosed HTML tag `p`
--> $DIR/invalid-html-tags.rs:3:9
|
LL | //! <p>💩<p>
| ^^^
error: unclosed HTML tag `unknown`
--> $DIR/invalid-html-tags.rs:11:5
|
LL | /// <unknown>
| ^^^^^^^^^
error: unclosed HTML tag `script`
--> $DIR/invalid-html-tags.rs:14:5
|
LL | /// <script>
| ^^^^^^^^
error: unclosed HTML tag `h2`
--> $DIR/invalid-html-tags.rs:19:7
|
LL | /// <h2>
| ^^^^
error: unclosed HTML tag `h3`
--> $DIR/invalid-html-tags.rs:21:9
|
LL | /// <h3>
| ^^^^
error: unopened HTML tag `hello`
--> $DIR/invalid-html-tags.rs:24:5
|
LL | /// </hello>
| ^^^^^^^^
error: unclosed HTML tag `p`
--> $DIR/invalid-html-tags.rs:29:14
|
LL | /// <br/> <p>
| ^^^
error: unclosed HTML tag `div`
--> $DIR/invalid-html-tags.rs:41:5
|
LL | /// <div style="hello">
| ^^^^
error: unclosed HTML tag `h3`
--> $DIR/invalid-html-tags.rs:43:7
|
LL | /// <h3>
| ^^^^
error: unclosed HTML tag `script`
--> $DIR/invalid-html-tags.rs:45:5
|
LL | /// <script
| ^^^^^^
error: unclosed HTML tag `div`
--> $DIR/invalid-html-tags.rs:73:5
|
LL | /// <div></div
| ^^^^^
error: Unclosed HTML comment
--> $DIR/invalid-html-tags.rs:87:5
|
LL | /// <!--
| ^^^
error: unopened HTML tag `unopened-tag`
--> $DIR/invalid-html-tags.rs:114:26
|
LL | /// Web Components style </unopened-tag>
| ^^^^^^^^^^^^^^^
error: unclosed HTML tag `dashed-tags`
--> $DIR/invalid-html-tags.rs:112:26
|
LL | /// Web Components style <dashed-tags>
| ^^^^^^^^^^^^^
error: unclosed HTML tag `a`
--> $DIR/invalid-html-tags.rs:121:19
|
LL | /// backslashed \<<a href="">
| ^^
error: aborting due to 16 previous errors
|