Skip to content

rust::driver: remove accidental double freevar calculation #6947

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

Merged
merged 1 commit into from
Jun 5, 2013
Merged

rust::driver: remove accidental double freevar calculation #6947

merged 1 commit into from
Jun 5, 2013

Conversation

Blei
Copy link
Contributor

@Blei Blei commented Jun 5, 2013

No description provided.

@bors bors closed this Jun 5, 2013
@bors bors merged commit c08df70 into rust-lang:incoming Jun 5, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 28, 2024
Closes rust-lang#6947

This changes the lint to allow futures which are not `Send` as a result
of a generic type parameter not having a `Send` bound and only lint
futures that are always `!Send` for any type, which I believe is the
more useful behavior (like the comments in the linked issue explain).

This is still only a heuristic (I'm not sure if there's a more general
way to do this), but it should cover the common cases I could think of
(including the code examples in the linked issue)

changelog: [`future_not_send`]: allow conditional `Send` futures
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