From 4679b7983ec6542a7dac76520849de09f39ad17d Mon Sep 17 00:00:00 2001 From: rustbot Date: Sat, 18 Sep 2021 12:10:10 +0000 Subject: [PATCH] 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 ============== --- {ices => fixed}/87496.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/87496.rs (100%) diff --git a/ices/87496.rs b/fixed/87496.rs similarity index 100% rename from ices/87496.rs rename to fixed/87496.rs