1
Fork 0

Revert "Suggest using Arc on !Send/!Sync types"

This reverts commit 9de1a472b6.
This commit is contained in:
David Tolnay 2023-08-28 03:16:48 -07:00
parent 4120936f6d
commit 823bacb6e3
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
113 changed files with 13 additions and 223 deletions

View file

@ -12,7 +12,6 @@ fn main() {
//~| NOTE bound introduced by
//~| NOTE appears within the type
//~| NOTE captures the following types
//~| NOTE consider using `std::sync::Arc<NotSend>`
}
fn gimme_send<T: Send>(t: T) {