summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/invalid-html-self-closing-tag.stderr
blob: e45edfb43ff8e7f1c481014a85e5de3a0447a461 (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
error: invalid self-closing HTML tag `p`
  --> $DIR/invalid-html-self-closing-tag.rs:3:5
   |
LL | /// <p/>
   |     ^^
   |
note: the lint level is defined here
  --> $DIR/invalid-html-self-closing-tag.rs:1:9
   |
LL | #![deny(rustdoc::invalid_html_tags)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: invalid self-closing HTML tag `p`
  --> $DIR/invalid-html-self-closing-tag.rs:7:5
   |
LL | /// <p style/>
   |     ^^

error: invalid self-closing HTML tag `p`
  --> $DIR/invalid-html-self-closing-tag.rs:11:5
   |
LL | /// <p style=""/>
   |     ^^

error: invalid self-closing HTML tag `p`
  --> $DIR/invalid-html-self-closing-tag.rs:15:5
   |
LL | /// <p style="x"/>
   |     ^^

error: unclosed quoted HTML attribute on tag `p`
  --> $DIR/invalid-html-self-closing-tag.rs:19:14
   |
LL | /// <p style="x/></p>
   |              ^

error: unclosed quoted HTML attribute on tag `p`
  --> $DIR/invalid-html-self-closing-tag.rs:23:14
   |
LL | /// <p style='x/></p>
   |              ^

error: invalid self-closing HTML tag `p`
  --> $DIR/invalid-html-self-closing-tag.rs:30:5
   |
LL | /// <p style="x/"/>
   |     ^^

error: invalid self-closing HTML tag `p`
  --> $DIR/invalid-html-self-closing-tag.rs:34:5
   |
LL | /// <p / >
   |     ^^

error: invalid self-closing HTML tag `a`
  --> $DIR/invalid-html-self-closing-tag.rs:47:5
   |
LL | /// <a href="/"/>
   |     ^^

error: invalid self-closing HTML tag `a`
  --> $DIR/invalid-html-self-closing-tag.rs:51:5
   |
LL | /// <a href=x />
   |     ^^

error: invalid self-closing HTML tag `a`
  --> $DIR/invalid-html-self-closing-tag.rs:55:5
   |
LL | /// <a href= />
   |     ^^

error: unclosed HTML tag `rect`
  --> $DIR/invalid-html-self-closing-tag.rs:65:10
   |
LL | /// <svg><rect width=1 height=/></svg>
   |          ^^^^^

error: aborting due to 12 previous errors