2 ms·Rust used to use lexical scope, but now uses scope based on the control flow graph.by steveklabnik 5y agoRust used to use lexical scope, but now uses scope based on the control flow graph.