forked from model-checking/kani
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated UI tests to not have line numbers
- Loading branch information
1 parent
477d9bf
commit 11e5597
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
error: Cannot derive impl for `PositivePoint` | ||
| | ||
11 | #[derive(kani::Invariant)] | ||
| #[derive(kani::Invariant)] | ||
| ^^^^^^^^^^^^^^^ | ||
| | ||
note: safety constraint in field `x` could not be parsed: expected attribute arguments in parentheses: #[safety_constraint(...)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
error: Cannot derive impl for `PositivePoint` | ||
| | ||
11 | #[derive(kani::Invariant)] | ||
| #[derive(kani::Invariant)] | ||
| ^^^^^^^^^^^^^^^ | ||
| | ||
note: safety constraint in field `x` could not be parsed: unexpected end of input, expected an expression |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
error[E0308]: mismatched types | ||
| | ||
14 | #[safety_constraint(x >= 0)] | ||
| #[safety_constraint(x >= 0)] | ||
| ^ expected `&i32`, found integer | ||
| | ||
help: consider dereferencing the borrow | ||
| | ||
14 | #[safety_constraint(*x >= 0)] | ||
| #[safety_constraint(*x >= 0)] | ||
| |