Skip to content

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Nov 21, 2020

This has the side effect that we also emit attribute.attribute highlights now, as in, the tokens that get the attribute semantic type also get the attribute modifier. I personally don't think it's really a problem but maybe it is to some? It's just that it was really simple to implement it this way, which is why I just went this route for now.

Fixes #6536

@Veykril Veykril closed this Nov 27, 2020
@Veykril Veykril deleted the attr-highlight branch November 27, 2020 18:19
@lnicola
Copy link
Member

lnicola commented Nov 27, 2020

Um, I hope you didn't close this because it didn't get reviewed in time.

@Veykril Veykril restored the attr-highlight branch November 27, 2020 19:03
@Veykril
Copy link
Member Author

Veykril commented Nov 27, 2020

Oh no, I was deleting some branches that were unused in my fork just now. Made a mistake with this one so it auto-closed since the branch got deleted
Good thing that you pointed that out, wouldn't have noticed otherwise

@Veykril Veykril reopened this Nov 27, 2020
@matklad
Copy link
Contributor

matklad commented Nov 29, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 29, 2020

@bors bors bot merged commit 25ebcca into rust-lang:master Nov 29, 2020
@Veykril Veykril deleted the attr-highlight branch November 29, 2020 19:49
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.

Semantic Highlighting: Some tokens within rust attributes are missing "attribute" modifier.

3 participants