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

Separate unsafe blocks into a ExprKind variant #260

Merged
merged 2 commits into from
Dec 5, 2017

Conversation

mystor
Copy link
Collaborator

@mystor mystor commented Dec 4, 2017

Fixes #202

Not sure if this is the best approach - I could also just keep unsafe { } and { } having the same AST node kind, and only change the parsers, but unsafe { } felt different enough to me that I figured it'd be OK to make it a separate ExprKind.

@mystor mystor requested a review from dtolnay December 4, 2017 18:38
@mystor mystor mentioned this pull request Dec 4, 2017
Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

I agree, let's do it this way. Thanks!

@dtolnay dtolnay merged commit d1efb85 into dtolnay:master Dec 5, 2017
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.

2 participants