]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/mem_forget.rs
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / mem_forget.rs
index 0e7cfbffa4c5f508309c5b3410f6a26462e8656c..b46f7007cd028db47e9818b013882aa906687a50 100644 (file)
@@ -7,16 +7,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-
-#![feature(tool_lints)]
-
-
-
-use std::sync::Arc;
 use std::rc::Rc;
+use std::sync::Arc;
 
-use std::mem::forget as forgetSomething;
 use std::mem as memstuff;
+use std::mem::forget as forgetSomething;
 
 #[warn(clippy::mem_forget)]
 #[allow(clippy::forget_copy)]