Closed
Description
trait Foo: Send {}
impl Foo for HashMap<Rc<()>, Rc<()>> {}
This compiles, despite Rc : !Send. I'm guessing this is because RawTable only uses K and V with marker::CovariantType, and I guess that isn't enough for the negative-impl to propagate. I haven't checked which other collections might be unsafe.
Metadata
Metadata
Assignees
Labels
No labels