Improve error message
This commit is contained in:
parent
9b6632cc94
commit
4ec8bb56b9
@ -276,8 +276,8 @@ impl std::fmt::Debug for Error
|
|||||||
predicate_declaration.declaration, predicate_declaration.declaration),
|
predicate_declaration.declaration, predicate_declaration.declaration),
|
||||||
Kind::PrivatePredicateInSpecification(ref predicate_declaration) =>
|
Kind::PrivatePredicateInSpecification(ref predicate_declaration) =>
|
||||||
write!(formatter,
|
write!(formatter,
|
||||||
"private predicate {} should not occur in specification (consider declaring it an input or output predicate)",
|
"private predicate {} should not occur in specification (consider declaring {} an input or output predicate)",
|
||||||
predicate_declaration.declaration),
|
predicate_declaration.declaration, predicate_declaration.declaration),
|
||||||
Kind::RunVampire => write!(formatter, "could not run Vampire"),
|
Kind::RunVampire => write!(formatter, "could not run Vampire"),
|
||||||
Kind::ProveProgram(exit_code, ref stdout, ref stderr) =>
|
Kind::ProveProgram(exit_code, ref stdout, ref stderr) =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user