Skip to content
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

Revert "Memoize format_expr" #5403

Merged
merged 2 commits into from
Jun 22, 2022
Merged

Conversation

ytmimi
Copy link
Contributor

@ytmimi ytmimi commented Jun 22, 2022

Fixes #5399

Memoizing expressions lead to cases where rustfmt's stability guarantees were violated.

This reverts commit a37d3ab.

ytmimi added 2 commits June 22, 2022 13:36
Fixes 5399

Memoizing expressions lead to cases where rustfmt's stability guarantees
were violated.

This reverts commit a37d3ab.
Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for adding the test too!

@calebcartwright calebcartwright merged commit a187091 into rust-lang:master Jun 22, 2022
@calebcartwright calebcartwright added the release-notes Needs an associated changelog entry label Jun 22, 2022
@calebcartwright calebcartwright removed the release-notes Needs an associated changelog entry label Jun 23, 2022
@ytmimi ytmimi deleted the issue_5399 branch August 7, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recent nightly rustfmt broke compatibility with stable rustfmt
2 participants