Skip to content

fix(prost-build): use Display instead of Debug for quoted string - #1419

Merged
caspermeijn merged 1 commit into
tokio-rs:masterfrom
bluec0re:patch-1
May 29, 2026
Merged

fix(prost-build): use Display instead of Debug for quoted string#1419
caspermeijn merged 1 commit into
tokio-rs:masterfrom
bluec0re:patch-1

Conversation

@bluec0re

Copy link
Copy Markdown
Contributor

Prevents the generation of broken code in case the fmt-debug unstable feature is used.

Fixes #1418

Prevents the generation of broken code in case the fmt-debug unstable feature is used.

Fixes tokio-rs#1418

@caspermeijn caspermeijn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for your contribution

@caspermeijn caspermeijn changed the title fix: use Display instead of Debug for generated enumeration attributes fix: use Display for generated enumeration attributes May 27, 2026
@caspermeijn caspermeijn changed the title fix: use Display for generated enumeration attributes fix(prost-build): use Display instead of Debug for quoted string May 27, 2026
@caspermeijn
caspermeijn added this pull request to the merge queue May 29, 2026
Merged via the queue into tokio-rs:master with commit d0b6199 May 29, 2026
17 checks passed
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.

prost-build generates invalid code when combined with -Zfmt-debug=none

2 participants