rustc_trait_selection::solve::inspect::analyse

Trait ProofTreeVisitor

Source
pub trait ProofTreeVisitor<'tcx> {
    type Result: VisitorResult = ();

    // Required methods
    fn span(&self) -> Span;
    fn visit_goal(&mut self, goal: &InspectGoal<'_, 'tcx>) -> Self::Result;

    // Provided method
    fn config(&self) -> InspectConfig { ... }
}
Expand description

The public API to interact with proof trees.

Provided Associated Types§

Source

type Result: VisitorResult = ()

Required Methods§

Source

fn span(&self) -> Span

Source

fn visit_goal(&mut self, goal: &InspectGoal<'_, 'tcx>) -> Self::Result

Provided Methods§

Implementors§