Improve warning when using private predicates in specification
This commit is contained in:
parent
3bf981236a
commit
c1038b398c
@ -251,7 +251,7 @@ impl std::fmt::Debug for Error
|
|||||||
predicate_declaration),
|
predicate_declaration),
|
||||||
Kind::PredicateShouldNotOccurInSpecification(ref predicate_declaration) =>
|
Kind::PredicateShouldNotOccurInSpecification(ref predicate_declaration) =>
|
||||||
write!(formatter,
|
write!(formatter,
|
||||||
"predicate {} should not occur in specification (it is not declared as an input or output predicate)",
|
"{} should not occur in specification because it’s a private predicate (consider declaring it an input or output predicate)",
|
||||||
predicate_declaration),
|
predicate_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