Twitter Feed: Post

Twitter Feed

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

Anyone familiar with why Rust's 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=1fe05b992957838e685d55f088adafd2