|
1 | 1 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
2 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:5:19 |
| 2 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:6:19 |
3 | 3 | | |
4 | 4 | LL | fn f1_1(x: isize, ...) {} |
5 | 5 | | ^^^ |
6 | 6 |
|
7 | 7 | error: C-variadic function must be declared with at least one named argument |
8 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:8:9 |
| 8 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:9:9 |
9 | 9 | | |
10 | 10 | LL | fn f1_2(...) {} |
11 | 11 | | ^^^ |
12 | 12 |
|
13 | 13 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
14 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:8:9 |
| 14 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:9:9 |
15 | 15 | | |
16 | 16 | LL | fn f1_2(...) {} |
17 | 17 | | ^^^ |
18 | 18 |
|
19 | 19 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
20 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:12:30 |
| 20 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:13:30 |
21 | 21 | | |
22 | 22 | LL | extern "C" fn f2_1(x: isize, ...) {} |
23 | 23 | | ^^^ |
24 | 24 |
|
25 | 25 | error: C-variadic function must be declared with at least one named argument |
26 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:15:20 |
| 26 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:16:20 |
27 | 27 | | |
28 | 28 | LL | extern "C" fn f2_2(...) {} |
29 | 29 | | ^^^ |
30 | 30 |
|
31 | 31 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
32 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:15:20 |
| 32 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:16:20 |
33 | 33 | | |
34 | 34 | LL | extern "C" fn f2_2(...) {} |
35 | 35 | | ^^^ |
36 | 36 |
|
37 | 37 | error: `...` must be the last argument of a C-variadic function |
38 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:19:20 |
| 38 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:20:20 |
39 | 39 | | |
40 | 40 | LL | extern "C" fn f2_3(..., x: isize) {} |
41 | 41 | | ^^^ |
42 | 42 |
|
43 | 43 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
44 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:19:20 |
| 44 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:20:20 |
45 | 45 | | |
46 | 46 | LL | extern "C" fn f2_3(..., x: isize) {} |
47 | 47 | | ^^^ |
48 | 48 |
|
49 | 49 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
50 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:23:30 |
| 50 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:24:30 |
51 | 51 | | |
52 | 52 | LL | extern "C" fn f3_1(x: isize, ...) {} |
53 | 53 | | ^^^ |
54 | 54 |
|
55 | 55 | error: C-variadic function must be declared with at least one named argument |
56 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:26:20 |
| 56 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:27:20 |
57 | 57 | | |
58 | 58 | LL | extern "C" fn f3_2(...) {} |
59 | 59 | | ^^^ |
60 | 60 |
|
61 | 61 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
62 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:26:20 |
| 62 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:27:20 |
63 | 63 | | |
64 | 64 | LL | extern "C" fn f3_2(...) {} |
65 | 65 | | ^^^ |
66 | 66 |
|
67 | 67 | error: `...` must be the last argument of a C-variadic function |
68 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:30:20 |
| 68 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:31:20 |
69 | 69 | | |
70 | 70 | LL | extern "C" fn f3_3(..., x: isize) {} |
71 | 71 | | ^^^ |
72 | 72 |
|
73 | 73 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
74 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:30:20 |
| 74 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:31:20 |
75 | 75 | | |
76 | 76 | LL | extern "C" fn f3_3(..., x: isize) {} |
77 | 77 | | ^^^ |
78 | 78 |
|
79 | 79 | error: C-variadic function must be declared with at least one named argument |
80 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:35:13 |
| 80 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:36:13 |
81 | 81 | | |
82 | 82 | LL | fn e_f1(...); |
83 | 83 | | ^^^ |
84 | 84 |
|
85 | 85 | error: `...` must be the last argument of a C-variadic function |
86 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:37:13 |
| 86 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:38:13 |
87 | 87 | | |
88 | 88 | LL | fn e_f2(..., x: isize); |
89 | 89 | | ^^^ |
90 | 90 |
|
91 | 91 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
92 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:44:23 |
| 92 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:45:23 |
93 | 93 | | |
94 | 94 | LL | fn i_f1(x: isize, ...) {} |
95 | 95 | | ^^^ |
96 | 96 |
|
97 | 97 | error: C-variadic function must be declared with at least one named argument |
98 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:46:13 |
| 98 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:47:13 |
99 | 99 | | |
100 | 100 | LL | fn i_f2(...) {} |
101 | 101 | | ^^^ |
102 | 102 |
|
103 | 103 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
104 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:46:13 |
| 104 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:47:13 |
105 | 105 | | |
106 | 106 | LL | fn i_f2(...) {} |
107 | 107 | | ^^^ |
108 | 108 |
|
109 | 109 | error: `...` must be the last argument of a C-variadic function |
110 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:49:13 |
| 110 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:50:13 |
111 | 111 | | |
112 | 112 | LL | fn i_f3(..., x: isize, ...) {} |
113 | 113 | | ^^^ |
114 | 114 |
|
115 | 115 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
116 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:49:13 |
| 116 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:50:13 |
117 | 117 | | |
118 | 118 | LL | fn i_f3(..., x: isize, ...) {} |
119 | 119 | | ^^^ |
120 | 120 |
|
121 | 121 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
122 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:49:28 |
| 122 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:50:28 |
123 | 123 | | |
124 | 124 | LL | fn i_f3(..., x: isize, ...) {} |
125 | 125 | | ^^^ |
126 | 126 |
|
127 | 127 | error: `...` must be the last argument of a C-variadic function |
128 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:53:13 |
| 128 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:54:13 |
129 | 129 | | |
130 | 130 | LL | fn i_f4(..., x: isize, ...) {} |
131 | 131 | | ^^^ |
132 | 132 |
|
133 | 133 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
134 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:53:13 |
| 134 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:54:13 |
135 | 135 | | |
136 | 136 | LL | fn i_f4(..., x: isize, ...) {} |
137 | 137 | | ^^^ |
138 | 138 |
|
139 | 139 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
140 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:53:28 |
| 140 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:54:28 |
141 | 141 | | |
142 | 142 | LL | fn i_f4(..., x: isize, ...) {} |
143 | 143 | | ^^^ |
144 | 144 |
|
145 | 145 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
146 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:60:23 |
| 146 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:61:23 |
147 | 147 | | |
148 | 148 | LL | fn t_f1(x: isize, ...) {} |
149 | 149 | | ^^^ |
150 | 150 |
|
151 | 151 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
152 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:62:23 |
| 152 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:63:23 |
153 | 153 | | |
154 | 154 | LL | fn t_f2(x: isize, ...); |
155 | 155 | | ^^^ |
156 | 156 |
|
157 | 157 | error: C-variadic function must be declared with at least one named argument |
158 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:64:13 |
| 158 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:65:13 |
159 | 159 | | |
160 | 160 | LL | fn t_f3(...) {} |
161 | 161 | | ^^^ |
162 | 162 |
|
163 | 163 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
164 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:64:13 |
| 164 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:65:13 |
165 | 165 | | |
166 | 166 | LL | fn t_f3(...) {} |
167 | 167 | | ^^^ |
168 | 168 |
|
169 | 169 | error: C-variadic function must be declared with at least one named argument |
170 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:67:13 |
| 170 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:68:13 |
171 | 171 | | |
172 | 172 | LL | fn t_f4(...); |
173 | 173 | | ^^^ |
174 | 174 |
|
175 | 175 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
176 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:67:13 |
| 176 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:68:13 |
177 | 177 | | |
178 | 178 | LL | fn t_f4(...); |
179 | 179 | | ^^^ |
180 | 180 |
|
181 | 181 | error: `...` must be the last argument of a C-variadic function |
182 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:70:13 |
| 182 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:71:13 |
183 | 183 | | |
184 | 184 | LL | fn t_f5(..., x: isize) {} |
185 | 185 | | ^^^ |
186 | 186 |
|
187 | 187 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
188 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:70:13 |
| 188 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:71:13 |
189 | 189 | | |
190 | 190 | LL | fn t_f5(..., x: isize) {} |
191 | 191 | | ^^^ |
192 | 192 |
|
193 | 193 | error: `...` must be the last argument of a C-variadic function |
194 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:73:13 |
| 194 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:74:13 |
195 | 195 | | |
196 | 196 | LL | fn t_f6(..., x: isize); |
197 | 197 | | ^^^ |
198 | 198 |
|
199 | 199 | error: only foreign or `unsafe extern "C" functions may be C-variadic |
200 | | - --> $DIR/variadic-ffi-semantic-restrictions.rs:73:13 |
| 200 | + --> $DIR/variadic-ffi-semantic-restrictions.rs:74:13 |
201 | 201 | | |
202 | 202 | LL | fn t_f6(..., x: isize); |
203 | 203 | | ^^^ |
|
0 commit comments