Lexical Region Resolution was removed in https://github.com/rust-lang/rust/pull/64790. Rust now uses Non-lexical lifetimes. For more info, please see the [borrowck chapter][bc] in the rustc-guide. [bc]: https://rust-lang.github.io/rustc-guide/borrow_check/region_inference.html