]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/borrowck-feature-nll-overrides-migrate.zflag.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / borrowck / borrowck-feature-nll-overrides-migrate.zflag.stderr
index ebdacee7f65d8d330d60812c1ec32696762bb596..e2c8073241487c805e027e3925b5749ada3d8a23 100644 (file)
@@ -4,7 +4,7 @@ error[E0507]: cannot move out of `foo` in pattern guard
 LL |                 (|| { let bar = foo; bar.take() })();
    |                  ^^             ---
    |                  |              |
-   |                  |              move occurs because `foo` has type `&mut std::option::Option<&i32>`, which does not implement the `Copy` trait
+   |                  |              move occurs because `foo` has type `&mut Option<&i32>`, which does not implement the `Copy` trait
    |                  |              move occurs due to use in closure
    |                  move out of `foo` occurs here
    |