fn enable_precise_capture(tcx: TyCtxt<'_>, closure_span: Span) -> bool
Expand description

Precise capture is enabled if the feature gate capture_disjoint_fields is enabled or if user is using Rust Edition 2021 or higher.