rustc_trait_selection::solve::inspect

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§

Required Methods§

Source

fn span(&self) -> Span

Source

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

Provided Methods§

Implementors§