ICE: "Missing span for DefIndex" on pub macro_rules
#84810
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-metadata
Area: Crate metadata
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Compiling gba v0.4.0 (D:\dev\gba)
thread 'rustc' panicked at 'Missing span for DefIndex(967)', compiler\rustc_metadata\src\rmeta\decoder.rs:715:32
note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceerror: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: rustc 1.53.0-nightly (42816d6 2021-04-24) running on x86_64-pc-windows-msvc
note: compiler flags: -Z unstable-options -C panic=abort -C embed-bitcode=no -C debuginfo=2 -C incremental -C link-arg=-Tlinker.ld --crate-type bin
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
error: could not compile
gba
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
[Finished running. Exit status: 0]
Repo state when the ICE happened: https://github.com/rust-console/gba/tree/8f4847306d2ced104f7e59b7bd932c40e0ba6a48
The text was updated successfully, but these errors were encountered: