Skip to main content

derive_resolution_keys_with_context

Function derive_resolution_keys_with_context 

Source
pub fn derive_resolution_keys_with_context(
    project: ProjectInstanceId,
    package: Option<&str>,
    graph: &SymbolGraph,
    context: ResolutionProjectionContext<'_>,
) -> Result<ResolutionKeyProjection, ResolutionProjectionError>
Expand description

Derive bounded canonical keys with explicit repository module configuration.

ยงErrors

Returns an error when a graph identity is invalid, one parser fact exceeds the bounded canonical-key fan-out, or an explicitly supplied operation allowance is exhausted before retaining the complete projection.