Skip to content

Conversation

Oblarg
Copy link

@Oblarg Oblarg commented Sep 25, 2025

#20750

These currently are broken due to incorrect parentheses-wrapping behavior in the transcriber

disclaimer: again, this was AI-assisted; but it seems to be local and the AI seems to have found the correct solve

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 25, 2025
@Oblarg Oblarg force-pushed the fix-negative-int-literals-in-macro-by-example branch 2 times, most recently from d21863e to be8147e Compare September 25, 2025 16:21
@Oblarg Oblarg force-pushed the fix-negative-int-literals-in-macro-by-example branch from be8147e to 03aabd4 Compare September 25, 2025 21:03
Copy link
Member

Choose a reason for hiding this comment

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

Looks good in overall. We should wrap the expressions with DelimiterKind::Invisible rather than parentheses but we don't have them now #16168, so this would be the best without much hassle.
But as the current parentheses expansion behavior is a bit hacky and temporary, I think the test should be located in hover or other similar location instead of this mbe crate.

Copy link
Author

Choose a reason for hiding this comment

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

as you wish :)

@Oblarg Oblarg force-pushed the fix-negative-int-literals-in-macro-by-example branch 2 times, most recently from 8501e78 to c1e26f8 Compare September 29, 2025 15:15
@Oblarg Oblarg force-pushed the fix-negative-int-literals-in-macro-by-example branch from c1e26f8 to b8852fd Compare September 29, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants