Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 4679b79

Browse files
committed
ices/87496.rs: fixed with no errors
=== stdout === === stderr === warning: struct is never constructed: `TransparentCustomZst` --> /home/runner/work/glacier/glacier/ices/87496.rs:2:8 | 2 | struct TransparentCustomZst(()); | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function is never used: `good17` --> /home/runner/work/glacier/glacier/ices/87496.rs:4:5 | 4 | fn good17(p: TransparentCustomZst); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: `extern` block uses type `TransparentCustomZst`, which is not FFI-safe --> /home/runner/work/glacier/glacier/ices/87496.rs:4:18 | 4 | fn good17(p: TransparentCustomZst); | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe | = note: `#[warn(improper_ctypes)]` on by default = note: this struct contains only zero-sized fields note: the type is defined here --> /home/runner/work/glacier/glacier/ices/87496.rs:2:1 | 2 | struct TransparentCustomZst(()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 3 warnings emitted ==============
1 parent b937ba4 commit 4679b79

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)