Take proof trees by value in inspect goal
This commit is contained in:
parent
a8a1d3a771
commit
13825dcc15
2 changed files with 15 additions and 18 deletions
|
@ -60,14 +60,14 @@ pub struct GoalEvaluation<'tcx> {
|
|||
pub evaluation: CanonicalGoalEvaluation<'tcx>,
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq)]
|
||||
#[derive(Eq, PartialEq, Debug)]
|
||||
pub struct CanonicalGoalEvaluation<'tcx> {
|
||||
pub goal: CanonicalInput<'tcx>,
|
||||
pub kind: CanonicalGoalEvaluationKind<'tcx>,
|
||||
pub result: QueryResult<'tcx>,
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq)]
|
||||
#[derive(Eq, PartialEq, Debug)]
|
||||
pub enum CanonicalGoalEvaluationKind<'tcx> {
|
||||
Overflow,
|
||||
CycleInStack,
|
||||
|
@ -86,7 +86,7 @@ pub struct AddedGoalsEvaluation<'tcx> {
|
|||
pub result: Result<Certainty, NoSolution>,
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq)]
|
||||
#[derive(Eq, PartialEq, Debug)]
|
||||
pub struct GoalEvaluationStep<'tcx> {
|
||||
pub instantiated_goal: QueryInput<'tcx, ty::Predicate<'tcx>>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue