From 8eef102270647af94f38274efb9a2fd5ef8a92ec Mon Sep 17 00:00:00 2001 From: Matthew Jasper Date: Mon, 22 Apr 2019 08:40:08 +0100 Subject: update tests for migrate mode by default --- .../functional-struct-update-noncopyable.nll.stderr | 9 --------- .../functional-struct-update-noncopyable.stderr | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 src/test/ui/functional-struct-update/functional-struct-update-noncopyable.nll.stderr (limited to 'src/test/ui/functional-struct-update') diff --git a/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.nll.stderr b/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.nll.stderr deleted file mode 100644 index e7b45753421..00000000000 --- a/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.nll.stderr +++ /dev/null @@ -1,9 +0,0 @@ -error[E0509]: cannot move out of type `A`, which implements the `Drop` trait - --> $DIR/functional-struct-update-noncopyable.rs:12:14 - | -LL | let _b = A { y: Arc::new(3), ..a }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot move out of here - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0509`. diff --git a/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr b/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr index 5549adc8d0e..e7b45753421 100644 --- a/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr +++ b/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr @@ -1,8 +1,8 @@ error[E0509]: cannot move out of type `A`, which implements the `Drop` trait - --> $DIR/functional-struct-update-noncopyable.rs:12:36 + --> $DIR/functional-struct-update-noncopyable.rs:12:14 | LL | let _b = A { y: Arc::new(3), ..a }; - | ^ cannot move out of here + | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot move out of here error: aborting due to previous error -- cgit 1.4.1-3-g733a5