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