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

Pretty printer comment drift in tag definitions #501

Closed
msullivan opened this issue Jun 15, 2011 · 1 comment
Closed

Pretty printer comment drift in tag definitions #501

msullivan opened this issue Jun 15, 2011 · 1 comment
Labels
A-pretty Area: Pretty printing (including `-Z unpretty`)

Comments

@msullivan
Copy link
Contributor

The pretty printer caused the following comment drift in the ast definitions:
expr_assign(@expr /* TODO: @expr|is_lval /, @expr, ann);
became
expr_assign(@expr, /
TODO: @expr|is_lval */@expr, ann);

@msullivan
Copy link
Contributor Author

It now moves the comments in front of the types. But at least it is associated with the same tag element. Good enough.

kazcw pushed a commit to kazcw/rust that referenced this issue Oct 23, 2018
…perations.

I've opened rust-lang#501 to track the workarounds introduced here.

Closes rust-lang#498.
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
celinval added a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Conflicts:
    src/tools/compiletest/src/runtest.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-pretty Area: Pretty printing (including `-Z unpretty`)
Projects
None yet
Development

No branches or pull requests

1 participant