Open hfiguiere opened 5 months ago
Related to this is https://github.com/rust-av/dav1d-rs/issues/95. Here the type around the Arc
is implementing Send+Sync
, and blindly applying clippy's suggestion (instead of ignoring it or implementing it on the inner type) would be unsound.
Description
The suggestion of using
Rc
is unhelpful because the intent is really to haveArc
.What would be great is diagnostic info telling me why it isn't Send + Sync by recursively telling me which inner type isn't, and why.
Version
Additional Labels
No response