Call for testing: Restricting trait implementability and field mutability | Inside Rust Blog
https://blog.rust-lang.org/inside-rust/2026/08/10/call-for-testing-impl-and-mut-restrictions/
https://blog.rust-lang.org/inside-rust/2026/08/10/call-for-testing-impl-and-mut-restrictions/
3 Comments
nialv7@lemmy.world · 4 pts · 4d
So basically language support for sealed traits and reducing need for getter functions. Kinda neat but not that significant.
BB_C@programming.dev · 2 pts · 4d
Yes and no.
And you clearly missed the enums part.
KillTheMule@programming.dev · 2 pts · 2d
As mentioned in the article, it enables scenarios that getters/setters can't because of the borrow checker.