Note that although MATLAB has closures and non-closing inner functions they’re the opposite way around to in Rust: the thing that looks like a regular function definition is non-closing in Rust and closing in MATLAB.
It can be annoying that Julia closures make it easy to accidentally use an outer name, especially when using threads and closures (when you will get all sorts of nonsense). I think cases without parallelism are mostly harmless, though.