diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-move-subcomponent.stderr')
-rw-r--r-- | src/test/ui/borrowck/borrowck-move-subcomponent.stderr | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/borrowck/borrowck-move-subcomponent.stderr b/src/test/ui/borrowck/borrowck-move-subcomponent.stderr deleted file mode 100644 index 8c9083fcf..000000000 --- a/src/test/ui/borrowck/borrowck-move-subcomponent.stderr +++ /dev/null @@ -1,13 +0,0 @@ -error[E0505]: cannot move out of `a.x` because it is borrowed - --> $DIR/borrowck-move-subcomponent.rs:15:14 - | -LL | let pb = &a; - | -- borrow of `a` occurs here -LL | let S { x: ax } = a; - | ^^ move out of `a.x` occurs here -LL | f(pb); - | -- borrow later used here - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0505`. |