@@ -23,80 +23,136 @@ LL | //! [Vec<Box<T>]
23
23
| ^^^^^^^^^^ unbalanced angle brackets
24
24
25
25
error: unresolved link to `Vec<Box<T>>>`
26
- --> $DIR/malformed-generics.rs:6 :6
26
+ --> $DIR/malformed-generics.rs:7 :6
27
27
|
28
28
LL | //! [Vec<Box<T>>>]
29
29
| ^^^^^^^^^^^^ unbalanced angle brackets
30
30
31
31
error: unresolved link to `Vec<T>>>`
32
- --> $DIR/malformed-generics.rs:7 :6
32
+ --> $DIR/malformed-generics.rs:9 :6
33
33
|
34
34
LL | //! [Vec<T>>>]
35
35
| ^^^^^^^^ unbalanced angle brackets
36
36
37
37
error: unresolved link to `<Vec`
38
- --> $DIR/malformed-generics.rs:8 :6
38
+ --> $DIR/malformed-generics.rs:11 :6
39
39
|
40
40
LL | //! [<Vec]
41
41
| ^^^^ unbalanced angle brackets
42
42
43
43
error: unresolved link to `Vec::<`
44
- --> $DIR/malformed-generics.rs:9 :6
44
+ --> $DIR/malformed-generics.rs:12 :6
45
45
|
46
46
LL | //! [Vec::<]
47
47
| ^^^^^^ unbalanced angle brackets
48
48
49
49
error: unresolved link to `<T>`
50
- --> $DIR/malformed-generics.rs:10 :6
50
+ --> $DIR/malformed-generics.rs:13 :6
51
51
|
52
52
LL | //! [<T>]
53
53
| ^^^ missing type for generic parameters
54
54
55
55
error: unresolved link to `<invalid syntax>`
56
- --> $DIR/malformed-generics.rs:11 :6
56
+ --> $DIR/malformed-generics.rs:15 :6
57
57
|
58
58
LL | //! [<invalid syntax>]
59
59
| ^^^^^^^^^^^^^^^^ missing type for generic parameters
60
60
61
61
error: unresolved link to `Vec:<T>:new`
62
- --> $DIR/malformed-generics.rs:12 :6
62
+ --> $DIR/malformed-generics.rs:17 :6
63
63
|
64
64
LL | //! [Vec:<T>:new()]
65
65
| ^^^^^^^^^^^^^ has invalid path separator
66
66
67
67
error: unresolved link to `Vec<<T>>`
68
- --> $DIR/malformed-generics.rs:13 :6
68
+ --> $DIR/malformed-generics.rs:19 :6
69
69
|
70
70
LL | //! [Vec<<T>>]
71
71
| ^^^^^^^^ too many angle brackets
72
72
73
73
error: unresolved link to `Vec<>`
74
- --> $DIR/malformed-generics.rs:14 :6
74
+ --> $DIR/malformed-generics.rs:21 :6
75
75
|
76
76
LL | //! [Vec<>]
77
77
| ^^^^^ empty angle brackets
78
78
79
79
error: unresolved link to `Vec<<>>`
80
- --> $DIR/malformed-generics.rs:15 :6
80
+ --> $DIR/malformed-generics.rs:22 :6
81
81
|
82
82
LL | //! [Vec<<>>]
83
83
| ^^^^^^^ too many angle brackets
84
84
85
85
error: unresolved link to `<Vec as IntoIterator>::into_iter`
86
- --> $DIR/malformed-generics.rs:18 :6
86
+ --> $DIR/malformed-generics.rs:25 :6
87
87
|
88
88
LL | //! [<Vec as IntoIterator>::into_iter]
89
89
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fully-qualified syntax is unsupported
90
90
|
91
91
= note: see https://github.com/rust-lang/rust/issues/74563 for more information
92
92
93
93
error: unresolved link to `<Vec<T> as IntoIterator>::iter`
94
- --> $DIR/malformed-generics.rs:19 :6
94
+ --> $DIR/malformed-generics.rs:27 :6
95
95
|
96
96
LL | //! [<Vec<T> as IntoIterator>::iter]
97
97
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ fully-qualified syntax is unsupported
98
98
|
99
99
= note: see https://github.com/rust-lang/rust/issues/74563 for more information
100
100
101
- error: aborting due to 15 previous errors
101
+ warning: unclosed HTML tag `T`
102
+ --> $DIR/malformed-generics.rs:5:13
103
+ |
104
+ LL | //! [Vec<Box<T>]
105
+ | ^^^
106
+ |
107
+ = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
108
+
109
+ warning: unclosed HTML tag `T`
110
+ --> $DIR/malformed-generics.rs:7:13
111
+ |
112
+ LL | //! [Vec<Box<T>>>]
113
+ | ^^^
114
+
115
+ warning: unclosed HTML tag `T`
116
+ --> $DIR/malformed-generics.rs:9:9
117
+ |
118
+ LL | //! [Vec<T>>>]
119
+ | ^^^
120
+
121
+ warning: unclosed HTML tag `T`
122
+ --> $DIR/malformed-generics.rs:13:6
123
+ |
124
+ LL | //! [<T>]
125
+ | ^^^
126
+
127
+ warning: unclosed HTML tag `invalid`
128
+ --> $DIR/malformed-generics.rs:15:6
129
+ |
130
+ LL | //! [<invalid syntax>]
131
+ | ^^^^^^^^
132
+
133
+ warning: unclosed HTML tag `T`
134
+ --> $DIR/malformed-generics.rs:17:10
135
+ |
136
+ LL | //! [Vec:<T>:new()]
137
+ | ^^^
138
+
139
+ warning: unclosed HTML tag `T`
140
+ --> $DIR/malformed-generics.rs:19:10
141
+ |
142
+ LL | //! [Vec<<T>>]
143
+ | ^^^
144
+
145
+ warning: unclosed HTML tag `Vec`
146
+ --> $DIR/malformed-generics.rs:25:6
147
+ |
148
+ LL | //! [<Vec as IntoIterator>::into_iter]
149
+ | ^^^^
150
+
151
+ warning: unclosed HTML tag `T`
152
+ --> $DIR/malformed-generics.rs:27:10
153
+ |
154
+ LL | //! [<Vec<T> as IntoIterator>::iter]
155
+ | ^^^
156
+
157
+ error: aborting due to 15 previous errors; 9 warnings emitted
102
158
0 commit comments