ICE: builtin derive created an unaligned reference
#127678
Labels
A-proc-macros
Area: Procedural macros
A-repr-packed
Area: the naughtiest repr
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm developing a toy kernel and created a proc-macro for annotation packed structs. Using the macro along with
#[derive(Debug)]
causes an ice.Code
src/main.rs
proc-macro crate:
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: