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
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

Or update Bevy MSRV in it

@alice-i-cecile alice-i-cecile added S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged and removed S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Mar 2, 2026
@amtep
Copy link
Copy Markdown

amtep commented May 2, 2026

bevy rust-version was updated to 1.95.0 in 4fd09ff :)

However the rust-version in crates/bevy_reflect/Cargo.toml is stil at 1.87.0

Do both need to be updated?

@alice-i-cecile
Copy link
Copy Markdown
Member

Yes, both should be updated here.

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-Waiting-on-Author The author needs to make changes or address concerns before this can be merged

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

4 participants