]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/unique-pinned-nocopy.rs
New upstream version 1.17.0+dfsg1
[rustc.git] / src / test / compile-fail / unique-pinned-nocopy.rs
index d971940db38f5af20cced487fa34dec81d825cf8..c09feec1d4af25b1b713ce74fe4875153404905c 100644 (file)
@@ -18,7 +18,6 @@ impl Drop for r {
 }
 
 fn main() {
-    // FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
     let i = Box::new(r { b: true });
     let _j = i.clone(); //~ ERROR no method named `clone` found
     println!("{:?}", i);