forked from rust-lang/rust
-
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.
Migrate docs to new output format (rust-lang#914)
- Loading branch information
1 parent
6cbaa4c
commit fd0cbb9
Showing
22 changed files
with
134 additions
and
110 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
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,4 +1,4 @@ | ||
# Kani result types | ||
# Kani verification results | ||
|
||
The result of a check in Kani can be one of the following: | ||
|
||
|
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
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
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
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
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
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,4 +1,5 @@ | ||
[rating::verification::check_rating.assertion.1] line 38 assertion failed: rating.get() <= 5: SUCCESS | ||
[rating::verification::check_rating.assertion.2] line 39 assertion failed: Rating::from(rating.get()).is_some(): SUCCESS | ||
VERIFICATION SUCCESSFUL | ||
|
||
SUCCESS\ | ||
assertion failed: rating.get() <= 5 | ||
SUCCESS\ | ||
assertion failed: Rating::from(rating.get()).is_some() | ||
VERIFICATION:- SUCCESSFUL |
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,3 +1,5 @@ | ||
[inventory::verification::safe_update.assertion.1] line 38 "NonZeroU32 is internally a u32 but it should never be 0.": SUCCESS | ||
[inventory::verification::safe_update.assertion.2] line 42 assertion failed: inventory.get(&id).unwrap() == quantity: SUCCESS | ||
VERIFICATION SUCCESSFUL | ||
SUCCESS\ | ||
"NonZeroU32 is internally a u32 but it should never be 0." | ||
SUCCESS\ | ||
assertion failed: inventory.get(&id).unwrap() == quantity | ||
VERIFICATION:- SUCCESSFUL |
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,3 +1,5 @@ | ||
[inventory::verification::unsafe_update.assertion.1] line 61 assertion failed: inventory.get(&id).unwrap() == quantity: SUCCESS | ||
called `Option::unwrap()` on a `None` value: FAILURE | ||
VERIFICATION FAILED | ||
SUCCESS\ | ||
assertion failed: inventory.get(&id).unwrap() == quantity | ||
FAILURE\ | ||
called `Option::unwrap()` on a `None` value | ||
VERIFICATION:- FAILED |
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 |
---|---|---|
|
@@ -11,6 +11,3 @@ edition = "2018" | |
proptest = "1.0.0" | ||
|
||
[workspace] | ||
|
||
[workspace.metadata.kani] | ||
flags = { output-format = "old" } |
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 +1,2 @@ | ||
[estimate_size.assertion.1] line 17 Oh no, a failing corner case!: FAILURE | ||
FAILURE\ | ||
Oh no, a failing corner case! |
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
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 +1,2 @@ | ||
[final_form::estimate_size.assertion.1] line 6 assertion failed: x < 4096: FAILURE | ||
FAILURE\ | ||
assertion failed: x < 4096 |
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,2 +1,4 @@ | ||
[final_form::estimate_size.assertion.1] line 6 assertion failed: x < 4096: | ||
[final_form::verify_success.assertion.1] line 58 assertion failed: y < 10: | ||
SUCCESS\ | ||
assertion failed: x < 4096 | ||
SUCCESS\ | ||
assertion failed: y < 10 |
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 |
---|---|---|
|
@@ -11,6 +11,3 @@ edition = "2018" | |
proptest = "1.0.0" | ||
|
||
[workspace] | ||
|
||
[workspace.metadata.kani] | ||
flags = { output-format = "old" } |
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 +1,2 @@ | ||
[overflow::simple_addition.assertion.1] line 7 attempt to add with overflow: FAILURE | ||
FAILURE\ | ||
attempt to add with overflow |
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,3 +1,5 @@ | ||
line 11 index out of bounds: the length is less than or equal to the given index | ||
line 11 dereference failure: pointer outside object bounds in a.data[var_5]: FAILURE | ||
VERIFICATION FAILED | ||
FAILURE\ | ||
index out of bounds: the length is less than or equal to the given index | ||
FAILURE\ | ||
dereference failure: pointer outside object bounds | ||
VERIFICATION:- FAILED |
5 changes: 3 additions & 2 deletions
5
docs/src/tutorial/kinds-of-failure/midpoint_overflow.expected
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,2 +1,3 @@ | ||
[overflow_quicksort::find_midpoint.assertion.1] line 7 attempt to add with overflow: FAILURE | ||
VERIFICATION FAILED | ||
FAILURE\ | ||
attempt to add with overflow | ||
VERIFICATION:- FAILED |
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
Oops, something went wrong.