From 92faccabfb5cf3ab5d93a1c65e2a4911724ddecd Mon Sep 17 00:00:00 2001 From: rustbot Date: Sun, 13 Jun 2021 12:07:58 +0000 Subject: [PATCH] ices/86132.rs: fixed with errors === stdout === === stderr === warning: trait objects without an explicit `dyn` are deprecated --> /home/runner/work/glacier/glacier/ices/86132.rs:4:36 | 4 | const TRAIT_OBJ_UNALIGNED_VTABLE: &Trait = | ^^^^^ help: use `dyn`: `dyn Trait` | = note: `#[warn(bare_trait_objects)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! = note: for more information, see issue #80165 warning: constant is never used: `TRAIT_OBJ_UNALIGNED_VTABLE` --> /home/runner/work/glacier/glacier/ices/86132.rs:4:1 | 4 | / const TRAIT_OBJ_UNALIGNED_VTABLE: &Trait = 5 | | unsafe { mem::transmute((&92u8, &[0b_______001_11i128; 128])) }; | |____________________________________________________________________^ | = note: `#[warn(dead_code)]` on by default error: any use of this value will cause an error --> /home/runner/work/glacier/glacier/ices/86132.rs:5:14 | 4 | / const TRAIT_OBJ_UNALIGNED_VTABLE: &Trait = 5 | | unsafe { mem::transmute((&92u8, &[0b_______001_11i128; 128])) }; | |______________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^__- | | | invalid vtable: alignment `7` is not a power of 2 | = note: `#[deny(const_err)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #71800 error: aborting due to previous error; 2 warnings emitted ============== --- {ices => fixed}/86132.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/86132.rs (100%) diff --git a/ices/86132.rs b/fixed/86132.rs similarity index 100% rename from ices/86132.rs rename to fixed/86132.rs