Skip to content

Commit 5997919

Browse files
authored
fix: rust code used for testing must be allowed dead code (#1148)
1 parent 23650a9 commit 5997919

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

AwsCryptographicMaterialProviders/runtimes/rust/src/dafny_libraries.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![deny(warnings, unconditional_panic)]
55
#![deny(nonstandard_style)]
66
#![deny(clippy::all)]
7+
#![allow(dead_code)]
78

89
#[allow(non_snake_case)]
910
pub mod DafnyLibraries {

StandardLibrary/runtimes/rust/src/dafny_libraries.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![deny(warnings, unconditional_panic)]
55
#![deny(nonstandard_style)]
66
#![deny(clippy::all)]
7+
#![allow(dead_code)]
78

89
#[allow(non_snake_case)]
910
pub mod DafnyLibraries {

0 commit comments

Comments
 (0)