Skip to content

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