-
Notifications
You must be signed in to change notification settings - Fork 898
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
Panic while formatting doc comment with nested block quotations #6427
Comments
I'll close the PR on our end since we can't merge it as is, but leave it available for your team to inspect. |
Work around for rust-lang/rustfmt#6427.
Removing the nested block quote (as I did in contentauth/c2pa-rs@9bd8350) seems to avoid the issue. This is not a blocker for us; providing the bug report as an FYI. |
@scouten-adobe what version of rustfmt were you running (can you run rustfmt --version), and what configurations are you using? Also, it would be very helpful if you could post a minimal reproduction here instead of linking to a PR. |
@ytmimi I'm on critical path for some other tasks, so I can't really take time to create a minimal repro. As I said, this is not a blocker for us. |
It doesn't have to be right now, but if you could revisit this again when you have some time that would help. |
Nightly build of
rustfmt
panics while formatting code with nested block quotation sections.Test case, including
rustc-ice
log file is available here: contentauth/c2pa-rs#808. The last commit in that PR introduces changes that cause the panic.The text was updated successfully, but these errors were encountered: