Skip to content

Conversation

sanxiyn
Copy link
Contributor

@sanxiyn sanxiyn commented Jan 24, 2014

The field is always set to true.

bors added a commit that referenced this pull request Jan 25, 2014
The field is always set to true.
@bors bors closed this Jan 25, 2014
@bors bors merged commit 0f36438 into rust-lang:master Jan 25, 2014
@sanxiyn sanxiyn deleted the reexport branch January 26, 2014 03:04
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 16, 2023
[arc_with_non_send_sync] Improve suggested resolution

Fixes: rust-lang#11714

Improved the lint message for [`arc_with_non_send_sync`] to suggest using `RC` unless user needs an Arc, then suggests wrapping in a mutex, and then suggests implementing `Sync` and `Send`.

---

changelog: [`arc_with_non_send_sync`]: Suggest RC over unsafe impl of Send and Sync
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.

3 participants