fn upvar_is_local_variable<'tcx>(
    upvars: Option<&'tcx FxIndexMap<HirId, Upvar>>,
    upvar_id: HirId,
    body_owner_is_closure: bool
) -> bool