Function rustc_hir_typeck::upvar::enable_precise_capture
source ยท fn enable_precise_capture(span: Span) -> boolExpand description
Precise capture is enabled if user is using Rust Edition 2021 or higher.
span is the span of the closure.