1 error[E0109]: type arguments are not allowed on builtin type `isize`
2 --> $DIR/prim-with-args.rs:4:15
4 LL | let _x: isize<isize>;
5 | ----- ^^^^^ type argument not allowed
7 | not allowed on builtin type `isize`
9 help: primitive type `isize` doesn't have generic parameters
11 LL - let _x: isize<isize>;
15 error[E0109]: type arguments are not allowed on builtin type `i8`
16 --> $DIR/prim-with-args.rs:5:12
18 LL | let _x: i8<isize>;
19 | -- ^^^^^ type argument not allowed
21 | not allowed on builtin type `i8`
23 help: primitive type `i8` doesn't have generic parameters
25 LL - let _x: i8<isize>;
29 error[E0109]: type arguments are not allowed on builtin type `i16`
30 --> $DIR/prim-with-args.rs:6:13
32 LL | let _x: i16<isize>;
33 | --- ^^^^^ type argument not allowed
35 | not allowed on builtin type `i16`
37 help: primitive type `i16` doesn't have generic parameters
39 LL - let _x: i16<isize>;
43 error[E0109]: type arguments are not allowed on builtin type `i32`
44 --> $DIR/prim-with-args.rs:7:13
46 LL | let _x: i32<isize>;
47 | --- ^^^^^ type argument not allowed
49 | not allowed on builtin type `i32`
51 help: primitive type `i32` doesn't have generic parameters
53 LL - let _x: i32<isize>;
57 error[E0109]: type arguments are not allowed on builtin type `i64`
58 --> $DIR/prim-with-args.rs:8:13
60 LL | let _x: i64<isize>;
61 | --- ^^^^^ type argument not allowed
63 | not allowed on builtin type `i64`
65 help: primitive type `i64` doesn't have generic parameters
67 LL - let _x: i64<isize>;
71 error[E0109]: type arguments are not allowed on builtin type `usize`
72 --> $DIR/prim-with-args.rs:9:15
74 LL | let _x: usize<isize>;
75 | ----- ^^^^^ type argument not allowed
77 | not allowed on builtin type `usize`
79 help: primitive type `usize` doesn't have generic parameters
81 LL - let _x: usize<isize>;
85 error[E0109]: type arguments are not allowed on builtin type `u8`
86 --> $DIR/prim-with-args.rs:10:12
88 LL | let _x: u8<isize>;
89 | -- ^^^^^ type argument not allowed
91 | not allowed on builtin type `u8`
93 help: primitive type `u8` doesn't have generic parameters
95 LL - let _x: u8<isize>;
99 error[E0109]: type arguments are not allowed on builtin type `u16`
100 --> $DIR/prim-with-args.rs:11:13
102 LL | let _x: u16<isize>;
103 | --- ^^^^^ type argument not allowed
105 | not allowed on builtin type `u16`
107 help: primitive type `u16` doesn't have generic parameters
109 LL - let _x: u16<isize>;
113 error[E0109]: type arguments are not allowed on builtin type `u32`
114 --> $DIR/prim-with-args.rs:12:13
116 LL | let _x: u32<isize>;
117 | --- ^^^^^ type argument not allowed
119 | not allowed on builtin type `u32`
121 help: primitive type `u32` doesn't have generic parameters
123 LL - let _x: u32<isize>;
127 error[E0109]: type arguments are not allowed on builtin type `u64`
128 --> $DIR/prim-with-args.rs:13:13
130 LL | let _x: u64<isize>;
131 | --- ^^^^^ type argument not allowed
133 | not allowed on builtin type `u64`
135 help: primitive type `u64` doesn't have generic parameters
137 LL - let _x: u64<isize>;
141 error[E0109]: type arguments are not allowed on builtin type `char`
142 --> $DIR/prim-with-args.rs:14:14
144 LL | let _x: char<isize>;
145 | ---- ^^^^^ type argument not allowed
147 | not allowed on builtin type `char`
149 help: primitive type `char` doesn't have generic parameters
151 LL - let _x: char<isize>;
155 error[E0109]: lifetime arguments are not allowed on builtin type `isize`
156 --> $DIR/prim-with-args.rs:16:15
158 LL | let _x: isize<'static>;
159 | ----- ^^^^^^^ lifetime argument not allowed
161 | not allowed on builtin type `isize`
163 help: primitive type `isize` doesn't have generic parameters
165 LL - let _x: isize<'static>;
169 error[E0109]: lifetime arguments are not allowed on builtin type `i8`
170 --> $DIR/prim-with-args.rs:17:12
172 LL | let _x: i8<'static>;
173 | -- ^^^^^^^ lifetime argument not allowed
175 | not allowed on builtin type `i8`
177 help: primitive type `i8` doesn't have generic parameters
179 LL - let _x: i8<'static>;
183 error[E0109]: lifetime arguments are not allowed on builtin type `i16`
184 --> $DIR/prim-with-args.rs:18:13
186 LL | let _x: i16<'static>;
187 | --- ^^^^^^^ lifetime argument not allowed
189 | not allowed on builtin type `i16`
191 help: primitive type `i16` doesn't have generic parameters
193 LL - let _x: i16<'static>;
197 error[E0109]: lifetime arguments are not allowed on builtin type `i32`
198 --> $DIR/prim-with-args.rs:19:13
200 LL | let _x: i32<'static>;
201 | --- ^^^^^^^ lifetime argument not allowed
203 | not allowed on builtin type `i32`
205 help: primitive type `i32` doesn't have generic parameters
207 LL - let _x: i32<'static>;
211 error[E0109]: lifetime arguments are not allowed on builtin type `i64`
212 --> $DIR/prim-with-args.rs:20:13
214 LL | let _x: i64<'static>;
215 | --- ^^^^^^^ lifetime argument not allowed
217 | not allowed on builtin type `i64`
219 help: primitive type `i64` doesn't have generic parameters
221 LL - let _x: i64<'static>;
225 error[E0109]: lifetime arguments are not allowed on builtin type `usize`
226 --> $DIR/prim-with-args.rs:21:15
228 LL | let _x: usize<'static>;
229 | ----- ^^^^^^^ lifetime argument not allowed
231 | not allowed on builtin type `usize`
233 help: primitive type `usize` doesn't have generic parameters
235 LL - let _x: usize<'static>;
239 error[E0109]: lifetime arguments are not allowed on builtin type `u8`
240 --> $DIR/prim-with-args.rs:22:12
242 LL | let _x: u8<'static>;
243 | -- ^^^^^^^ lifetime argument not allowed
245 | not allowed on builtin type `u8`
247 help: primitive type `u8` doesn't have generic parameters
249 LL - let _x: u8<'static>;
253 error[E0109]: lifetime arguments are not allowed on builtin type `u16`
254 --> $DIR/prim-with-args.rs:23:13
256 LL | let _x: u16<'static>;
257 | --- ^^^^^^^ lifetime argument not allowed
259 | not allowed on builtin type `u16`
261 help: primitive type `u16` doesn't have generic parameters
263 LL - let _x: u16<'static>;
267 error[E0109]: lifetime arguments are not allowed on builtin type `u32`
268 --> $DIR/prim-with-args.rs:24:13
270 LL | let _x: u32<'static>;
271 | --- ^^^^^^^ lifetime argument not allowed
273 | not allowed on builtin type `u32`
275 help: primitive type `u32` doesn't have generic parameters
277 LL - let _x: u32<'static>;
281 error[E0109]: lifetime arguments are not allowed on builtin type `u64`
282 --> $DIR/prim-with-args.rs:25:13
284 LL | let _x: u64<'static>;
285 | --- ^^^^^^^ lifetime argument not allowed
287 | not allowed on builtin type `u64`
289 help: primitive type `u64` doesn't have generic parameters
291 LL - let _x: u64<'static>;
295 error[E0109]: lifetime arguments are not allowed on builtin type `char`
296 --> $DIR/prim-with-args.rs:26:14
298 LL | let _x: char<'static>;
299 | ---- ^^^^^^^ lifetime argument not allowed
301 | not allowed on builtin type `char`
303 help: primitive type `char` doesn't have generic parameters
305 LL - let _x: char<'static>;
309 error: aborting due to 22 previous errors
311 For more information about this error, try `rustc --explain E0109`.