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

Revert "Make unsync::Lazy<T, F> covariant in F" #236

Merged
merged 1 commit into from
Jun 4, 2023

Conversation

danielhenrymantilla
Copy link
Contributor

@danielhenrymantilla danielhenrymantilla commented Jun 3, 2023

Indeed, #233 introduced a regression w.r.t #[may_dangle] 😔, apologies

This reverts commit e3b2260, reversing
changes made to 8f39b77.
@matklad
Copy link
Owner

matklad commented Jun 4, 2023

Absolutely no need to apologize here, it's very useful to know what we actually could do here (pick one of covariance/dropck).

IF you don't want to see the work going to waste, consider submitting a similar PR to rust-lang/rust :0) For std, I think we must get both bits right, and there we #[may dangle].

@matklad
Copy link
Owner

matklad commented Jun 4, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 4, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit de29dd9 into matklad:master Jun 4, 2023
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