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

Static mut unsafe semantic highlighting #5678

Merged
merged 2 commits into from Aug 7, 2020

Conversation

Nashenas88
Copy link
Contributor

This marks static mutable names as unsafe, since accessing or modifying a static mut is an unsafe operation.

@Nashenas88 Nashenas88 changed the title Static mut unsafe Static mut unsafe semantic highlighting Aug 7, 2020
@jonas-schievink
Copy link
Contributor

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 7, 2020

@bors bors bot merged commit 911ef38 into rust-lang:master Aug 7, 2020
@Nashenas88 Nashenas88 deleted the static-mut-unsafe branch August 7, 2020 13:07
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.

None yet

2 participants