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

Properly handle namespaces for enum configuration options #1162

Merged
merged 1 commit into from
Nov 28, 2017
Merged

Properly handle namespaces for enum configuration options #1162

merged 1 commit into from
Nov 28, 2017

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Nov 27, 2017

...by using canonical_path rather than canonical_name.

Fixes #1125.

r? @emilio

@fitzgen
Copy link
Member

fitzgen commented Nov 27, 2017

Can you add a note to the unreleased section of the changelog about this breaking change? Thanks!

@fitzgen
Copy link
Member

fitzgen commented Nov 27, 2017

And did it fix the issues you were seeing in that other bug?

...by using canonical_path rather than canonical_name.

Fixes #1125.
@tamird
Copy link
Contributor Author

tamird commented Nov 27, 2017

Added a note to the changelog. I haven't had a chance to test the other issue yet, I may get to it today (but may not).

Copy link
Contributor

@emilio emilio left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@emilio
Copy link
Contributor

emilio commented Nov 28, 2017

@bors-servo r+

@bors-servo
Copy link

📌 Commit 89efc23 has been approved by emilio

@bors-servo
Copy link

⌛ Testing commit 89efc23 with merge 75f9e1c...

bors-servo pushed a commit that referenced this pull request Nov 28, 2017
Properly handle namespaces for enum configuration options

...by using canonical_path rather than canonical_name.

Fixes #1125.

r? @emilio
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: emilio
Pushing 75f9e1c to master...

@bors-servo bors-servo merged commit 89efc23 into rust-lang:master Nov 28, 2017
@tamird tamird deleted the enum-naming-consistency branch November 28, 2017 13:19
rather than its "canonical name", which does not. This is a breaking change
that requires callers which target a namespaced C++ enum to call e.g.
`bitfield_enum("<namespace>::<enum_name>")` rather than e.g.
`bitfield_enum("<enum_name>")`. [#1162][]
Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

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.

5 participants