@@ -130,7 +130,7 @@ LL | fn transparent_incorrect() -> isize;
130130 found `unsafe extern "C" fn() -> isize`
131131
132132warning: `missing_return_type` redeclared with a different signature
133- --> $DIR/clashing-extern-fn.rs:238 :13
133+ --> $DIR/clashing-extern-fn.rs:259 :13
134134 |
135135LL | fn missing_return_type() -> usize;
136136 | ---------------------------------- `missing_return_type` previously declared here
@@ -142,7 +142,7 @@ LL | fn missing_return_type();
142142 found `unsafe extern "C" fn()`
143143
144144warning: `non_zero_usize` redeclared with a different signature
145- --> $DIR/clashing-extern-fn.rs:256 :13
145+ --> $DIR/clashing-extern-fn.rs:277 :13
146146 |
147147LL | fn non_zero_usize() -> core::num::NonZeroUsize;
148148 | ----------------------------------------------- `non_zero_usize` previously declared here
@@ -154,7 +154,7 @@ LL | fn non_zero_usize() -> usize;
154154 found `unsafe extern "C" fn() -> usize`
155155
156156warning: `non_null_ptr` redeclared with a different signature
157- --> $DIR/clashing-extern-fn.rs:258 :13
157+ --> $DIR/clashing-extern-fn.rs:279 :13
158158 |
159159LL | fn non_null_ptr() -> core::ptr::NonNull<usize>;
160160 | ----------------------------------------------- `non_null_ptr` previously declared here
@@ -166,7 +166,7 @@ LL | fn non_null_ptr() -> *const usize;
166166 found `unsafe extern "C" fn() -> *const usize`
167167
168168warning: `option_non_zero_usize_incorrect` redeclared with a different signature
169- --> $DIR/clashing-extern-fn.rs:356 :13
169+ --> $DIR/clashing-extern-fn.rs:377 :13
170170 |
171171LL | fn option_non_zero_usize_incorrect() -> usize;
172172 | ---------------------------------------------- `option_non_zero_usize_incorrect` previously declared here
@@ -178,7 +178,7 @@ LL | fn option_non_zero_usize_incorrect() -> isize;
178178 found `unsafe extern "C" fn() -> isize`
179179
180180warning: `option_non_null_ptr_incorrect` redeclared with a different signature
181- --> $DIR/clashing-extern-fn.rs:358 :13
181+ --> $DIR/clashing-extern-fn.rs:379 :13
182182 |
183183LL | fn option_non_null_ptr_incorrect() -> *const usize;
184184 | --------------------------------------------------- `option_non_null_ptr_incorrect` previously declared here
@@ -190,7 +190,7 @@ LL | fn option_non_null_ptr_incorrect() -> *const isize;
190190 found `unsafe extern "C" fn() -> *const isize`
191191
192192warning: `hidden_niche_transparent_no_niche` redeclared with a different signature
193- --> $DIR/clashing-extern-fn.rs:408 :13
193+ --> $DIR/clashing-extern-fn.rs:433 :13
194194 |
195195LL | fn hidden_niche_transparent_no_niche() -> usize;
196196 | ------------------------------------------------ `hidden_niche_transparent_no_niche` previously declared here
@@ -202,7 +202,7 @@ LL | fn hidden_niche_transparent_no_niche() -> Option<TransparentNoN
202202 found `unsafe extern "C" fn() -> Option<TransparentNoNiche>`
203203
204204warning: `hidden_niche_unsafe_cell` redeclared with a different signature
205- --> $DIR/clashing-extern-fn.rs:412 :13
205+ --> $DIR/clashing-extern-fn.rs:437 :13
206206 |
207207LL | fn hidden_niche_unsafe_cell() -> usize;
208208 | --------------------------------------- `hidden_niche_unsafe_cell` previously declared here
@@ -214,7 +214,7 @@ LL | fn hidden_niche_unsafe_cell() -> Option<UnsafeCell<NonZeroUsize
214214 found `unsafe extern "C" fn() -> Option<UnsafeCell<NonZeroUsize>>`
215215
216216warning: `extern` block uses type `Option<TransparentNoNiche>`, which is not FFI-safe
217- --> $DIR/clashing-extern-fn.rs:408 :55
217+ --> $DIR/clashing-extern-fn.rs:433 :55
218218 |
219219LL | fn hidden_niche_transparent_no_niche() -> Option<TransparentNoNiche>;
220220 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
@@ -224,7 +224,7 @@ LL | fn hidden_niche_transparent_no_niche() -> Option<TransparentNoN
224224 = note: `#[warn(improper_ctypes)]` on by default
225225
226226warning: `extern` block uses type `Option<UnsafeCell<NonZeroUsize>>`, which is not FFI-safe
227- --> $DIR/clashing-extern-fn.rs:412 :46
227+ --> $DIR/clashing-extern-fn.rs:437 :46
228228 |
229229LL | fn hidden_niche_unsafe_cell() -> Option<UnsafeCell<NonZeroUsize>>;
230230 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
0 commit comments