diff options
| author | Alex Macleod <alex@macleod.io> | 2024-11-15 19:23:58 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-15 19:23:58 +0000 |
| commit | 83f7526cf0d4b4df5d9f39030664dc70b3e17b90 (patch) | |
| tree | da1328724a5271e0c9aee1124541bc4c58752a8d /tests/coverage/branch/lazy-boolean.rs | |
| parent | 786fbd6d683933cd0e567fdcd25d449a69b4320c (diff) | |
| parent | 1309e8f3f37c90153c84334e586785f276b65b34 (diff) | |
| download | rust-83f7526cf0d4b4df5d9f39030664dc70b3e17b90.tar.gz rust-83f7526cf0d4b4df5d9f39030664dc70b3e17b90.zip | |
Allow conditional `Send` futures in `future_not_send` (#13590)
Closes #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
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions
