]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/cfg_attr_rustfmt.rs
Rollup merge of #92849 - flip1995:clippyup, r=Manishearth
[rust.git] / tests / ui / cfg_attr_rustfmt.rs
index 7f4a86ae185a626b4889dff1b29851b7a73319ec..035169fab85befb570e7d06ebcc5ff518652109b 100644 (file)
@@ -1,5 +1,7 @@
+// run-rustfix
 #![feature(stmt_expr_attributes)]
 
+#![allow(unused, clippy::no_effect, clippy::unnecessary_operation)]
 #![warn(clippy::deprecated_cfg_attr)]
 
 // This doesn't get linted, see known problems