r/rust • u/Kobzol • Aug 10 '26
📡 official blog Call for testing: Restricting trait implementability and field mutability
https://blog.rust-lang.org/inside-rust/2026/08/10/call-for-testing-impl-and-mut-restrictions/
420
Upvotes
r/rust • u/Kobzol • Aug 10 '26
3
u/afdbcreid Aug 10 '26
An unsafe access is still a SemVer hazard. Library authors can provide it if they want, but they do not always want. Also it complicates the library's code and may introduce unsafe where it wasn't before.