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