-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rusfmt hangs when using cfg-if macro #4442
Labels
bug
Panic, non-idempotency, invalid code, etc.
Comments
This is most minimal reproduction I've found: cfg_if! {
if #[_] { if }
} Although I should note that it doesn't produce any debug messages when run with |
current minimal reproduction cfg_if! {
if #[cfg()] { if }
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rusfmt
hangs when using cfg-if macroTo reproduce run
rustftm main.rs
, where:From the logs
RUST_LOG=trace rustftm main.rs
I can see it just keeps logging:The text was updated successfully, but these errors were encountered: