@@ -165,7 +165,7 @@ edition = "2021"
165
165
let mut lib_contents = String :: new ( ) ;
166
166
write ! (
167
167
& mut lib_contents,
168
- r#"#![allow(unused_imports, clippy::all, rustdoc::all)]
168
+ r#"#![allow(unused_imports, unused_attributes, clippy::all, rustdoc::all)]
169
169
//! This module contains the sol! generated bindings for solidity contracts.
170
170
//! This is autogenerated code.
171
171
//! Do not manually edit these files.
@@ -228,13 +228,14 @@ edition = "2021"
228
228
229
229
let _ = fs:: create_dir_all ( bindings_path) ;
230
230
231
- let mut mod_contents = r#"#![allow(unused_imports, clippy::all, rustdoc::all)]
231
+ let mut mod_contents =
232
+ r#"#![allow(unused_imports, unused_attributes, clippy::all, rustdoc::all)]
232
233
//! This module contains the sol! generated bindings for solidity contracts.
233
234
//! This is autogenerated code.
234
235
//! Do not manually edit these files.
235
236
//! These files may be overwritten by the codegen system at any time.
236
237
"#
237
- . to_string ( ) ;
238
+ . to_string ( ) ;
238
239
239
240
for instance in & self . instances {
240
241
let name = instance. name . to_snake_case ( ) ;
@@ -290,7 +291,7 @@ edition = "2021"
290
291
let mut super_contents = String :: new ( ) ;
291
292
write ! (
292
293
& mut super_contents,
293
- r#"#![allow(unused_imports, clippy::all, rustdoc::all)]
294
+ r#"#![allow(unused_imports, unused_attributes, clippy::all, rustdoc::all)]
294
295
//! This module contains the sol! generated bindings for solidity contracts.
295
296
//! This is autogenerated code.
296
297
//! Do not manually edit these files.
0 commit comments