summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/suggestions/html-as-generics.stderr
blob: df54b71264ebcb770eae2b5aed806e6140e3a6ee (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
error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:4:13
   |
LL | /// This Vec<i32> thing!
   |             ^^^^^
   |
note: the lint level is defined here
  --> $DIR/html-as-generics.rs:2:9
   |
LL | #![deny(rustdoc::invalid_html_tags)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
help: try marking as source code
   |
LL | /// This `Vec<i32>` thing!
   |          +        +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:9:18
   |
LL | /// This vec::Vec<i32> thing!
   |                  ^^^^^
   |
help: try marking as source code
   |
LL | /// This `vec::Vec<i32>` thing!
   |          +             +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:14:13
   |
LL | /// This i32<i32> thing!
   |             ^^^^^
   |
help: try marking as source code
   |
LL | /// This `i32<i32>` thing!
   |          +        +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:19:15
   |
LL | /// This Vec::<i32> thing!
   |               ^^^^^
   |
help: try marking as source code
   |
LL | /// This `Vec::<i32>` thing!
   |          +          +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:24:41
   |
LL | /// This [link](https://rust-lang.org)::<i32> thing!
   |                                         ^^^^^
   |
help: try marking as source code
   |
LL | /// This [link](https://rust-lang.org)`::<i32>` thing!
   |                                       +       +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:29:21
   |
LL | /// This <span>Vec::<i32></span> thing!
   |                     ^^^^^
   |
help: try marking as source code
   |
LL | /// This <span>`Vec::<i32>`</span> thing!
   |                +          +

error: aborting due to 6 previous errors