fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
3.9 KiB135 linesraw
1error[E0109]: type arguments are not allowed for this type
2  --> $DIR/prim-with-args.rs:3:14
3   |
4LL | let x: isize<isize>;
5   |              ^^^^^ type argument not allowed
6
7error[E0109]: type arguments are not allowed for this type
8  --> $DIR/prim-with-args.rs:4:11
9   |
10LL | let x: i8<isize>;
11   |           ^^^^^ type argument not allowed
12
13error[E0109]: type arguments are not allowed for this type
14  --> $DIR/prim-with-args.rs:5:12
15   |
16LL | let x: i16<isize>;
17   |            ^^^^^ type argument not allowed
18
19error[E0109]: type arguments are not allowed for this type
20  --> $DIR/prim-with-args.rs:6:12
21   |
22LL | let x: i32<isize>;
23   |            ^^^^^ type argument not allowed
24
25error[E0109]: type arguments are not allowed for this type
26  --> $DIR/prim-with-args.rs:7:12
27   |
28LL | let x: i64<isize>;
29   |            ^^^^^ type argument not allowed
30
31error[E0109]: type arguments are not allowed for this type
32  --> $DIR/prim-with-args.rs:8:14
33   |
34LL | let x: usize<isize>;
35   |              ^^^^^ type argument not allowed
36
37error[E0109]: type arguments are not allowed for this type
38  --> $DIR/prim-with-args.rs:9:11
39   |
40LL | let x: u8<isize>;
41   |           ^^^^^ type argument not allowed
42
43error[E0109]: type arguments are not allowed for this type
44  --> $DIR/prim-with-args.rs:10:12
45   |
46LL | let x: u16<isize>;
47   |            ^^^^^ type argument not allowed
48
49error[E0109]: type arguments are not allowed for this type
50  --> $DIR/prim-with-args.rs:11:12
51   |
52LL | let x: u32<isize>;
53   |            ^^^^^ type argument not allowed
54
55error[E0109]: type arguments are not allowed for this type
56  --> $DIR/prim-with-args.rs:12:12
57   |
58LL | let x: u64<isize>;
59   |            ^^^^^ type argument not allowed
60
61error[E0109]: type arguments are not allowed for this type
62  --> $DIR/prim-with-args.rs:13:13
63   |
64LL | let x: char<isize>;
65   |             ^^^^^ type argument not allowed
66
67error[E0109]: lifetime arguments are not allowed for this type
68  --> $DIR/prim-with-args.rs:15:14
69   |
70LL | let x: isize<'static>;
71   |              ^^^^^^^ lifetime argument not allowed
72
73error[E0109]: lifetime arguments are not allowed for this type
74  --> $DIR/prim-with-args.rs:16:11
75   |
76LL | let x: i8<'static>;
77   |           ^^^^^^^ lifetime argument not allowed
78
79error[E0109]: lifetime arguments are not allowed for this type
80  --> $DIR/prim-with-args.rs:17:12
81   |
82LL | let x: i16<'static>;
83   |            ^^^^^^^ lifetime argument not allowed
84
85error[E0109]: lifetime arguments are not allowed for this type
86  --> $DIR/prim-with-args.rs:18:12
87   |
88LL | let x: i32<'static>;
89   |            ^^^^^^^ lifetime argument not allowed
90
91error[E0109]: lifetime arguments are not allowed for this type
92  --> $DIR/prim-with-args.rs:19:12
93   |
94LL | let x: i64<'static>;
95   |            ^^^^^^^ lifetime argument not allowed
96
97error[E0109]: lifetime arguments are not allowed for this type
98  --> $DIR/prim-with-args.rs:20:14
99   |
100LL | let x: usize<'static>;
101   |              ^^^^^^^ lifetime argument not allowed
102
103error[E0109]: lifetime arguments are not allowed for this type
104  --> $DIR/prim-with-args.rs:21:11
105   |
106LL | let x: u8<'static>;
107   |           ^^^^^^^ lifetime argument not allowed
108
109error[E0109]: lifetime arguments are not allowed for this type
110  --> $DIR/prim-with-args.rs:22:12
111   |
112LL | let x: u16<'static>;
113   |            ^^^^^^^ lifetime argument not allowed
114
115error[E0109]: lifetime arguments are not allowed for this type
116  --> $DIR/prim-with-args.rs:23:12
117   |
118LL | let x: u32<'static>;
119   |            ^^^^^^^ lifetime argument not allowed
120
121error[E0109]: lifetime arguments are not allowed for this type
122  --> $DIR/prim-with-args.rs:24:12
123   |
124LL | let x: u64<'static>;
125   |            ^^^^^^^ lifetime argument not allowed
126
127error[E0109]: lifetime arguments are not allowed for this type
128  --> $DIR/prim-with-args.rs:25:13
129   |
130LL | let x: char<'static>;
131   |             ^^^^^^^ lifetime argument not allowed
132
133error: aborting due to 22 previous errors
134
135For more information about this error, try `rustc --explain E0109`.