Post #2489050
2025-05-21 23:54 UTC
@anselmschueler@ieji.de yep! https://docs.rs/iddqd/latest/iddqd/macro.id_upcast.html
Ideally I'd be able to put a covariance bound on the trait's associated type itself, but there's no way to do that in stable Rust
Replies (1)
-
@anselmschueler@ieji.de 2025-05-22 12:31
@rain@hachyderm.io I wonder if there could just be an auto trait for this…