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

Commit

Permalink
ices/104631.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
warning: the feature `dyn_star` is incomplete and may not be safe to use and/or cause compiler crashes
 --> /home/runner/work/glacier/glacier/ices/104631.rs:3:12
  |
3 | #![feature(dyn_star)]
  |            ^^^^^^^^
  |
  = note: see issue #102425 <rust-lang/rust#102425> for more information
  = note: `#[warn(incomplete_features)]` on by default

error[E0277]: `AlignedUsize` needs to have the same ABI as a pointer
  --> /home/runner/work/glacier/glacier/ices/104631.rs:14:13
   |
14 |     let x = AlignedUsize(12) as dyn* Debug;
   |             ^^^^^^^^^^^^^^^^ `AlignedUsize` needs to be a pointer-like type
   |
   = help: the trait `PointerLike` is not implemented for `AlignedUsize`

error: aborting due to previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0277`.
==============
  • Loading branch information
rustbot committed Apr 10, 2023
1 parent c3811b6 commit 4977707
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 4977707

Please sign in to comment.