Skip to content

Revert "Workaround rustfmt panic on quote!(Self(#var)) in Rust 1.93.0 (#22669)"#23139

Open
jieyouxu wants to merge 1 commit intobevyengine:mainfrom
jieyouxu:revert-rustfmt-workaround
Open

Revert "Workaround rustfmt panic on quote!(Self(#var)) in Rust 1.93.0 (#22669)"#23139
jieyouxu wants to merge 1 commit intobevyengine:mainfrom
jieyouxu:revert-rustfmt-workaround

Conversation

@jieyouxu
Copy link

@jieyouxu jieyouxu commented Feb 25, 2026

Objective

This PR reverts #22669 since the temporary workaround should no longer be needed in 1.93.1+.

The root cause for the rustfmt ICE was fixed in rust-lang/rust#150590 which was included in the Rust 1.93.1 point release.

Solution

Plain revert.

Testing

….0 (bevyengine#22669)"

This reverts commit 304265b.

The root cause for the rustfmt panic was fixed in
<rust-lang/rust#150590> which was included in
the Rust 1.93.1 point release.
@github-actions
Copy link
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@alice-i-cecile
Copy link
Member

Nice thanks!

@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Feb 25, 2026
@alice-i-cecile alice-i-cecile added A-Reflection Runtime information about types D-Macros Code that generates Rust code labels Feb 25, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Reflection Feb 25, 2026
@mockersf
Copy link
Member

We should wait for Bevy to use the 1.93.1 as the MSRV before merging this.

Or update Bevy MSRV in it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Reflection Runtime information about types C-Code-Quality A section of code that is hard to understand or change D-Macros Code that generates Rust code D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

3 participants