Skip to content

Commit 8b85bee

Browse files
committed
fix formatting check
1 parent eaab5cf commit 8b85bee

File tree

8 files changed

+22
-4
lines changed

8 files changed

+22
-4
lines changed

kani-compiler/src/kani_middle/codegen_units.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ impl CodegenUnits {
104104
// and these harnesses have no stubs.
105105
units.extend(
106106
automatic_harnesses
107-
.iter()
108-
.map(|(harness, _)| CodegenUnit {
107+
.keys()
108+
.map(|harness| CodegenUnit {
109109
harnesses: vec![*harness],
110110
stubs: HashMap::default(),
111111
})

kani-driver/src/args/autoverify_args.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl ValidateArgs for CargoAutoverifyArgs {
7171
ErrorKind::MissingRequiredArgument,
7272
format!(
7373
"The `autoverify` subcommand is unstable and requires -Z {}",
74-
UnstableFeature::UnstableOptions.to_string()
74+
UnstableFeature::UnstableOptions
7575
),
7676
));
7777
}
@@ -105,7 +105,7 @@ impl ValidateArgs for StandaloneAutoverifyArgs {
105105
ErrorKind::MissingRequiredArgument,
106106
format!(
107107
"The `autoverify` subcommand is unstable and requires -Z {}",
108-
UnstableFeature::UnstableOptions.to_string()
108+
UnstableFeature::UnstableOptions
109109
),
110110
));
111111
}

tests/script-based-pre/cargo_autoverify_contracts/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Kani Contributors
2+
# SPDX-License-Identifier: Apache-2.0 OR MIT
3+
14
[package]
25
name = "cargo_autoverify_contracts"
36
version = "0.1.0"

tests/script-based-pre/cargo_autoverify_exclude/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Kani Contributors
2+
# SPDX-License-Identifier: Apache-2.0 OR MIT
3+
14
[package]
25
name = "cargo_autoverify_include"
36
version = "0.1.0"

tests/script-based-pre/cargo_autoverify_filter/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Kani Contributors
2+
# SPDX-License-Identifier: Apache-2.0 OR MIT
3+
14
[package]
25
name = "cargo_autoverify_filter"
36
version = "0.1.0"

tests/script-based-pre/cargo_autoverify_harnesses_fail/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Kani Contributors
2+
# SPDX-License-Identifier: Apache-2.0 OR MIT
3+
14
[package]
25
name = "cargo_autoverify_harnesses_fail"
36
version = "0.1.0"

tests/script-based-pre/cargo_autoverify_include/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Kani Contributors
2+
# SPDX-License-Identifier: Apache-2.0 OR MIT
3+
14
[package]
25
name = "cargo_autoverify_include"
36
version = "0.1.0"

tests/script-based-pre/cargo_autoverify_loops_fixme/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Kani Contributors
2+
# SPDX-License-Identifier: Apache-2.0 OR MIT
3+
14
[package]
25
name = "cargo_autoverify_loops_fixme"
36
version = "0.1.0"

0 commit comments

Comments
 (0)