You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== 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
==============
0 commit comments