Open Zoxc opened 6 years ago
I ended up needing this when adding thread safety to rustc. I'm not sure why the IntoErased trait is unsafe, so it would be a good idea to check that I didn't break any invariants here.
IntoErased
Did you check whether Erased impls Any? That's the only potential unsafety I noticed.
Erased
Any
@Storyyeller dyn (Erased + Sync + Send) cannot impl Any.
dyn (Erased + Sync + Send)
I ended up needing this when adding thread safety to rustc. I'm not sure why the
IntoErased
trait is unsafe, so it would be a good idea to check that I didn't break any invariants here.