]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/mem_forget.rs
Addition `manual_map` test for `unsafe` blocks
[rust.git] / tests / ui / mem_forget.rs
index 96d333a7170da8634f2293d668aa85ddf786c41e..e5b35c098a23969a2e47ee732d03aaae7ea23c35 100644 (file)
@@ -1,12 +1,8 @@
-#![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)]