From cb859441b832b803fe8a8de7a2f65dfd95002e1c Mon Sep 17 00:00:00 2001 From: Victor Lopez Date: Wed, 23 Mar 2022 18:14:05 +0100 Subject: [PATCH] Restore lib.rs directives --- src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e643169..547cf57 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,12 +7,12 @@ //! is the same as the number of constraints (i.e., where the constraint //! matrices are square). Furthermore, Marlin only supports instances where the //! public inputs are of size one less than a power of 2 (i.e., 2^n - 1). -//#![deny(unused_import_braces, unused_qualifications, trivial_casts)] -//#![deny(trivial_numeric_casts, private_in_public)] -//#![deny(stable_features, unreachable_pub, non_shorthand_field_patterns)] -//#![deny(unused_attributes, unused_imports, unused_mut)] -//#![deny(renamed_and_removed_lints, stable_features, unused_allocation)] -//#![deny(unused_comparisons, bare_trait_objects, unused_must_use, const_err)] +#![deny(unused_import_braces, unused_qualifications, trivial_casts)] +#![deny(trivial_numeric_casts, private_in_public)] +#![deny(stable_features, unreachable_pub, non_shorthand_field_patterns)] +#![deny(unused_attributes, unused_imports, unused_mut)] +#![deny(renamed_and_removed_lints, stable_features, unused_allocation)] +#![deny(unused_comparisons, bare_trait_objects, unused_must_use, const_err)] #![forbid(unsafe_code)] #![allow(clippy::op_ref)]