ICE with "-Z ast-json": Attempted to encode LazyTokenStream #78398
Labels
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.
Code
https://github.com/dgrunwald/rust-cpython
Master branch; run
make PY=3 test
Meta
rust-cpython has automated tests using
rustc -Z ast-json
to check that all declared symbols in the python3-sys library really exist in the .so file. These tests recently started failing with an ICE in rustc.According to cargo-bisect-rustc, this is a regression in 22e6b9c (#77250)
Error output
Backtrace
The text was updated successfully, but these errors were encountered: