Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Commit 19868c4

Browse files
committed
Surpress all warnings in eval
1 parent 929cf0b commit 19868c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/eval/execute.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ fn generate_code_to_send(code: &str, bare: bool) -> String {
103103
};
104104
format!(
105105
template! {
106-
"#![allow(dead_code)]",
107-
"#![allow(unused_imports)]",
106+
"#![allow(warnings)]",
108107
"{header}",
109108
"{prelude}",
110109
"fn main() -> Result<(), Box<dyn std::error::Error>> {{",

0 commit comments

Comments
 (0)