]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/borrowck-in-static.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / borrowck / borrowck-in-static.stderr
index 77d6d7c231d1914f6e2369104cc9fe6654669764..f73c787346d8cfddc97a77a6a4d0533e97589095 100644 (file)
@@ -4,7 +4,7 @@ error[E0507]: cannot move out of `x`, a captured variable in an `Fn` closure
 LL |     let x = Box::new(0);
    |         - captured outer variable
 LL |     Box::new(|| x)
-   |                 ^ move occurs because `x` has type `std::boxed::Box<i32>`, which does not implement the `Copy` trait
+   |                 ^ move occurs because `x` has type `Box<i32>`, which does not implement the `Copy` trait
 
 error: aborting due to previous error