]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass-valgrind/dst-dtor-2.rs
Rollup merge of #60915 - michaelwoerister:hashstablestuff, r=estebank
[rust.git] / src / test / run-pass-valgrind / dst-dtor-2.rs
index 471169340d793057daa42a23fb657b78e6e03cbe..ebf0c17fecb5600e4b0743a7557d8ab5b60907d2 100644 (file)
@@ -1,13 +1,3 @@
-// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 // no-prefer-dynamic
 
 static mut DROP_RAN: isize = 0;
@@ -25,7 +15,6 @@ struct Fat<T: ?Sized> {
 
 pub fn main() {
     {
-        // FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
         let _x: Box<Fat<[Foo]>> = Box::<Fat<[Foo; 3]>>::new(Fat { f: [Foo, Foo, Foo] });
     }
     unsafe {