Skip to main content

resolve_place

Function resolve_place 

Source
pub fn resolve_place(
    place: &Place<'_>,
    origins: &LocalOriginMap,
) -> (usize, Vec<usize>)
Expand description

Resolve a MIR Place through the origin map. If the place has field projections, returns them directly. Otherwise, follows the alias chain one level.