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

Use a private uninhabited type for Export impls without hints #690

Merged
merged 1 commit into from Feb 5, 2021
Merged

Use a private uninhabited type for Export impls without hints #690

merged 1 commit into from Feb 5, 2021

Conversation

ghost
Copy link

@ghost ghost commented Feb 5, 2021

No PRs in our godot-rust repo??? Time to change that!

This makes it no longer a breaking change to add hints for these types later, since the type can't be constructed, and can't be named except as an associated type, so it could not be used in a way that would break if we replace it with something else in safe code.

Close #684

This makes it no longer a breaking change to add hints for these types
later, since the type can't be constructed, and can't be named except
as an associated type, so it could not be used in a way that would break
if we replace it with something else in safe code.
@ghost ghost added feature Adds functionality to the library breaking-change Issues and PRs that are breaking to fix/merge. labels Feb 5, 2021
@ghost ghost added this to the 0.10 milestone Feb 5, 2021
Copy link
Member

@halzy halzy left a comment

Choose a reason for hiding this comment

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

Time to start on 0.10! Nice PR.

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 5, 2021

Build succeeded:

@bors bors bot merged commit 4bc7681 into godot-rust:master Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Issues and PRs that are breaking to fix/merge. feature Adds functionality to the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the "non-hintable" hint type "never"
1 participant