about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-02-19 00:15:12 -0800
committerEsteban Küber <esteban@kuber.com.ar>2018-03-14 18:04:21 -0700
commitcb5667eaa53c45f1cdf69f367f8cd749b0499ce1 (patch)
treea5d73139437a630763f5194c671a2880727c94c2 /src/libcore
parentfe1975448cf180a39393104a7b424291975998d4 (diff)
downloadrust-cb5667eaa53c45f1cdf69f367f8cd749b0499ce1.tar.gz
rust-cb5667eaa53c45f1cdf69f367f8cd749b0499ce1.zip
Make hint clearer, with the potential of being wrong
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/marker.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index 51d2e29e6b1..d78453cc900 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -346,11 +346,11 @@ pub trait Copy : Clone {
 #[rustc_on_unimplemented(
     on(
         _Self="std::sync::mpsc::Receiver<T>",
-        label="`{Self}` cannot be shared safely, if using a closure consider marking it `move`"
+        label="`{Self}` cannot be shared safely, consider marking the closure `move`"
     ),
     on(
         _Self="std::sync::mpsc::Sender<T>",
-        label="`{Self}` cannot be shared safely, if using a closure consider marking it `move`"
+        label="`{Self}` cannot be shared safely, consider marking the closure `move`"
     ),
     message="`{Self}` cannot be shared between threads safely",
     label="`{Self}` cannot be shared between threads safely"