Re:Thoughts on Rust, a few thousand lines in
by hajile on Wednesday January 09, 2019 @04:17PM
(#18868981)
It is shadowing (though it could be converted into mutation by a sufficiently smart compiler...). ReasonML does something similar with their take on Ocaml.
https://reasonml.github.io/docs/en/let-binding