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 generativity to ensure soundness even with NLL #23

Merged
merged 1 commit into from
May 27, 2019
Merged

Conversation

llogiq
Copy link
Owner

@llogiq llogiq commented May 24, 2019

It was recently found out that edition 2018 NLL doesn't ensure lifetime uniqueness with the current setup. This uses a slightly different scheme, which unfortunately makes InvariantLifetimepart of the public API, but that's a small price to pay for soundness.

This fixes #22

It was recently found out that edition 2018 NLL doesn't ensure
lifetime uniqueness with the current setup. This uses a slightly
different scheme, which unfortunately makes `InvariantLifetime`
part of the public API, but that's a small price to pay for
soundness.
@llogiq llogiq merged commit 0969252 into master May 27, 2019
@llogiq llogiq deleted the generativity branch May 27, 2019 07:54
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.

Generativity mechanism is unsound 💥
2 participants