summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/suggestions/html-as-generics.stderr
blob: 481278bdaf9a23cf280cd89fe2afb86917a4c25b (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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
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: unclosed HTML tag `u32`
  --> $DIR/html-as-generics.rs:34:28
   |
LL | /// Nested generics Vec<Vec<u32>>
   |                            ^^^^^
   |
help: try marking as source code
   |
LL | /// Nested generics `Vec<Vec<u32>>`
   |                     +             +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:39:27
   |
LL | /// Generics with path Vec<i32>::Iter
   |                           ^^^^^
   |
help: try marking as source code
   |
LL | /// Generics with path `Vec<i32>::Iter`
   |                        +              +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:44:28
   |
LL | /// Generics with path <Vec<i32>>::Iter
   |                            ^^^^^
   |
help: try marking as source code
   |
LL | /// Generics with path `<Vec<i32>>::Iter`
   |                        +                +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:49:31
   |
LL | /// Generics with path Vec<Vec<i32>>::Iter
   |                               ^^^^^
   |
help: try marking as source code
   |
LL | /// Generics with path `Vec<Vec<i32>>::Iter`
   |                        +                   +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:54:28
   |
LL | /// Generics with bump <Vec<i32>>s
   |                            ^^^^^
   |
help: try marking as source code
   |
LL | /// Generics with bump `<Vec<i32>>`s
   |                        +          +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:59:31
   |
LL | /// Generics with bump Vec<Vec<i32>>s
   |                               ^^^^^
   |
help: try marking as source code
   |
LL | /// Generics with bump `Vec<Vec<i32>>`s
   |                        +             +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:64:29
   |
LL | /// Generics with punct <Vec<i32>>!
   |                             ^^^^^
   |
help: try marking as source code
   |
LL | /// Generics with punct `<Vec<i32>>`!
   |                         +          +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:69:32
   |
LL | /// Generics with punct Vec<Vec<i32>>!
   |                                ^^^^^
   |
help: try marking as source code
   |
LL | /// Generics with punct `Vec<Vec<i32>>`!
   |                         +             +

error: unclosed HTML tag `i32`
  --> $DIR/html-as-generics.rs:74:14
   |
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:79:16
   |
LL | /// This [Vec::<i32>] thing!
   |                ^^^^^
   |
help: try marking as source code
   |
LL | /// This [`Vec::<i32>`] thing!
   |           +          +

error: aborting due to 16 previous errors