Skip to content

Commit

Permalink
Remove not strictly necessary dep
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed Dec 1, 2023
1 parent 1c71508 commit e4f3cfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/kani_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ proc-macro = true
proc-macro2 = "1.0"
proc-macro-error = "1.0.4"
quote = "1.0.20"
syn = { version = "2.0.18", features = ["full", "visit-mut", "visit", "extra-traits"] }
syn = { version = "2.0.18", features = ["full", "visit-mut", "visit"] }
2 changes: 1 addition & 1 deletion library/kani_macros/src/sysroot/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ impl<'a> ContractConditionsHandler<'a> {
.enumerate()
.find_map(|(i, elem)| is_replace_return_havoc(elem).then_some(i))
.unwrap_or_else(|| {
panic!("ICE: Could not find result let binding in statement sequence {stmts:?}")
panic!("ICE: Could not find result let binding in statement sequence")
});
// We want the result assign statement to end up as the last statement in the first
// vector, hence the `+1`.
Expand Down

0 comments on commit e4f3cfd

Please sign in to comment.