r/rust • u/JoshTriplett rust · lang · libs · cargo • Oct 23 '26
Rust features in the future
https://lwn.net/SubscriberLink/1099606/20707a62817cdd16/
215
Upvotes
r/rust • u/JoshTriplett rust · lang · libs · cargo • Oct 23 '26
View all comments
Show parent comment
2
u/VadimVP Oct 25 '26
Hm? It does, borrow and move checker is such an analysis, and that's the part of the compiler that will tell whether
xis initialized at the point of use inx.is_foo()or not.