X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Fmem_forget.rs;h=e5b35c098a23969a2e47ee732d03aaae7ea23c35;hb=a0e9f9bd0dca39ccff47baedffa94aca74911a86;hp=266c5c267f8ca60f3bbba5b66f788f552604df38;hpb=b8654eaa6c4c4abaed9b8e448445b992c87bb41e;p=rust.git diff --git a/tests/ui/mem_forget.rs b/tests/ui/mem_forget.rs index 266c5c267f8..e5b35c098a2 100644 --- a/tests/ui/mem_forget.rs +++ b/tests/ui/mem_forget.rs @@ -1,22 +1,8 @@ -// Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - - - - - - -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)]