Twitter Feed: Post

Twitter Feed

@bascule ("Tony "Abolish ICE" Arcieri 🦀🌹") wrote:

Anyone familiar with why orphan rules disallow this sort of thing?

I don't get it because I'm defining a trait and a struct in the same crate/module, but I can't write both a blanket impl of the trait and a generic impl for my struct
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=023ecaecea70200e2d8214678339cd03