rustc_mir_build::build::expr::as_place

Function enable_precise_capture

Source
fn enable_precise_capture(closure_span: Span) -> bool
Expand description

Precise capture is enabled if user is using Rust Edition 2021 or higher.