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
Issue: rustc v1.64.0 hangs on a crate with a syntax error without reporting the error.
I was making this change to a Rust project where one of the non-default workspace crates ended up with an error due to the signature of a function in another crate in the workspace changing. Normally, this crate compiles relatively quickly, but after making the change, rustc ran indefinitely instead of showing the error. Fixing the error (or not making the change in the first place) allows the crate to compile normally again.
Issue:
rustc
v1.64.0 hangs on a crate with a syntax error without reporting the error.I was making this change to a Rust project where one of the non-default workspace crates ended up with an error due to the signature of a function in another crate in the workspace changing. Normally, this crate compiles relatively quickly, but after making the change,
rustc
ran indefinitely instead of showing the error. Fixing the error (or not making the change in the first place) allows the crate to compile normally again.Seems to build fine on nightly as of today.
Commits:
Reproduces on both Linux and macOS/ARM with Rust v1.64.0. Nightly appears to build without a hang and then displays the expected syntax error.
How to reproduce:
git checkout 0f7dd58f884300740aa9f0e2fd96637b8fe2616e
Traces:
Meta
rustc --version --verbose
:Nightly version info on which there is no hang:
The text was updated successfully, but these errors were encountered: