this post was submitted on 17 May 2025
28 points (91.2% liked)
Rust
6940 readers
22 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The orphan rule is not stupid, it is necessary.
My understanding is that it's necessary given the current design of the compiler. That doesn't mean it can't be removed at some point.
It would be really nice to be able to define trait impls wherever, and it should be possible.