about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-08 20:30:02 +0000
committerbors <bors@rust-lang.org>2023-11-08 20:30:02 +0000
commite16d42f5404ea8bbea0a5339bf3d68e58aa0a534 (patch)
treeb9776be8d6cab3c2b19253d7af24de9a191200b7 /tests/rustdoc-js-std/parser-errors.js
parentba43632808bbbcf3214ea687ba2e8237724b0cf0 (diff)
parent399fe32893ea74b815b01c505ddac3b02d08bd27 (diff)
downloadrust-e16d42f5404ea8bbea0a5339bf3d68e58aa0a534.tar.gz
rust-e16d42f5404ea8bbea0a5339bf3d68e58aa0a534.zip
Auto merge of #11772 - partiallytyped:11714, r=blyxyas
[arc_with_non_send_sync] Improve suggested resolution

Fixes: #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
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions