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