about summary refs log tree commit diff
path: root/src/test/ui/static
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2019-05-05 12:02:32 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2019-06-03 14:55:29 +0100
commit8ffa4080597231c49fabf63795dae4bf8e116248 (patch)
treeca3cb7237e4a43fde59eb37c617b87222c570aa9 /src/test/ui/static
parent9336b3d3d05d217ba8277e0d36e498e89bbbe276 (diff)
downloadrust-8ffa4080597231c49fabf63795dae4bf8e116248.tar.gz
rust-8ffa4080597231c49fabf63795dae4bf8e116248.zip
Update tests for changes to cannot move errors
Diffstat (limited to 'src/test/ui/static')
-rw-r--r--src/test/ui/static/static-items-cant-move.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/static/static-items-cant-move.stderr b/src/test/ui/static/static-items-cant-move.stderr
index fc1ed9b8d61..235e9ee9b91 100644
--- a/src/test/ui/static/static-items-cant-move.stderr
+++ b/src/test/ui/static/static-items-cant-move.stderr
@@ -1,8 +1,8 @@
-error[E0507]: cannot move out of static item
+error[E0507]: cannot move out of static item `BAR`
   --> $DIR/static-items-cant-move.rs:18:10
    |
 LL |     test(BAR);
-   |          ^^^ cannot move out of static item
+   |          ^^^ move occurs because `BAR` has type `Foo`, which does not implement the `Copy` trait
 
 error: aborting due to previous error