]> git.lizzy.rs Git - rust.git/blobdiff - tests/fmt.rs
Allow `suboptimal_flops` in const functions
[rust.git] / tests / fmt.rs
index 7616d8001e8853bb8e9de4e44659d01b3253bd6f..be42f1fbb2023b4bb5bd8d4e2937be64cafa6f80 100644 (file)
@@ -1,3 +1,6 @@
+#![cfg_attr(feature = "deny-warnings", deny(warnings))]
+#![warn(rust_2018_idioms, unused_lifetimes)]
+
 use std::path::PathBuf;
 use std::process::Command;