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: 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 <rust-lang/rust#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 <rust-lang/rust#71800>
error: aborting due to previous error; 2 warnings emitted
==============
0 commit comments