Skip to main content

owning_field_paths_from_annotation

Function owning_field_paths_from_annotation 

Source
pub(crate) fn owning_field_paths_from_annotation<'tcx>(
    tcx: TyCtxt<'tcx>,
    output: Ty<'tcx>,
) -> Vec<Vec<usize>>
Expand description

Resolve Owning(self.field...) invariants on a local returned struct to field-index paths, without requiring a method self binding.