Compiling
This commit is contained in:
@ -92,7 +92,7 @@ impl<'a, T: Tracer + 'a> BodyProver<'a, T>
|
||||
{
|
||||
let body_tracer = if let Body::And(_) = body
|
||||
{
|
||||
Some(tracer.begin_proof(ProofType::Body, format!("Proving {}", body)))
|
||||
Some(tracer.begin_proof(ProofType::Body))
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -145,7 +145,7 @@ impl<'a, T: Tracer + 'a> PredicateProver<'a, T>
|
||||
//info!(target: "PredicateProver", "Proving {}", predicate);
|
||||
PredicateProver {
|
||||
module,
|
||||
tracer: tracer.begin_proof(ProofType::Predicate, format!("Proving {}", &predicate)),
|
||||
tracer: tracer.begin_proof(ProofType::Predicate),
|
||||
predicate,
|
||||
constraints,
|
||||
current_clause: 0,
|
||||
|
||||
@ -25,7 +25,7 @@ impl Display for ProofType
|
||||
|
||||
pub trait Tracer
|
||||
{
|
||||
fn begin_proof<T: Display>(&self, proof_type: ProofType) -> Self;
|
||||
fn begin_proof(&self, proof_type: ProofType) -> Self;
|
||||
fn print_step<T: Display>(&self, show: T);
|
||||
fn end_proof(self);
|
||||
}
|
||||
@ -45,7 +45,7 @@ impl SimpleTracer
|
||||
|
||||
impl Tracer for SimpleTracer
|
||||
{
|
||||
fn begin_proof<T: Display>(&self, proof_type: ProofType) -> Self
|
||||
fn begin_proof(&self, proof_type: ProofType) -> Self
|
||||
{
|
||||
SimpleTracer { proof_type }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user