Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Oct 13, 2014

Closes #4201.

@alexcrichton
Copy link
Member

Oh wow, closing an issue under 5k! r? @pcwalton

@ghost
Copy link
Author

ghost commented Oct 13, 2014

I've been waiting two years for someone to fix it and so at this point I may as well do it myself. :P

@ghost ghost assigned pcwalton Oct 15, 2014
bors added a commit that referenced this pull request Oct 16, 2014
@bors bors closed this Oct 16, 2014
@bors bors merged commit 43e5d10 into rust-lang:master Oct 16, 2014
@ghost ghost deleted the issue-4201 branch October 16, 2014 22:27
lnicola pushed a commit to lnicola/rust that referenced this pull request Sep 25, 2024
… r=Veykril

Handle attributes correctly in "Flip comma"

Attributes often contain path followed by a token tree (e.g. `align(2)`), and the previous code handled them as two separate items, which led to results such as `#[repr(alignC, (2))]`.

An alternative is to just make the assist unavailable in attributes, like we do in macros. But contrary to macros, attributes often have a fixed form, so this seems useful.

Fixes rust-lang#18013.
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.

Confusing error message when missing an else in an if expression

3 participants