about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Hamann <nick@wabbo.org>2015-05-10 12:55:12 -0500
committerNick Hamann <nick@wabbo.org>2015-05-10 17:49:12 -0500
commita40c49c6dba55c8074a79fa26fbf2bc0d9387371 (patch)
tree395563239236ff3549efe2adfba64634f6d8a4b7
parentd730750d24e74263e349b0d5f32a8922065829c0 (diff)
downloadrust-a40c49c6dba55c8074a79fa26fbf2bc0d9387371.tar.gz
rust-a40c49c6dba55c8074a79fa26fbf2bc0d9387371.zip
Improve wording for E0204 and E0205 long diagnostic messages.
-rw-r--r--src/librustc_typeck/diagnostics.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs
index 7428e5ada5f..887e15bd6b6 100644
--- a/src/librustc_typeck/diagnostics.rs
+++ b/src/librustc_typeck/diagnostics.rs
@@ -183,8 +183,8 @@ struct Foo<'a> {
 }
 ```
 
-This fails because `&mut T` is not `Copy`, even when `T` is `Copy` (as opposed
-to `&T`, which is).
+This fails because `&mut T` is not `Copy`, even when `T` is `Copy` (this
+differs from the behavior for `&T`, which is `Copy` when `T` is `Copy`).
 "##,
 
 E0205: r##"
@@ -213,8 +213,8 @@ enum Foo<'a> {
 }
 ```
 
-This fails because `&mut T` is not `Copy`, even when `T` is `Copy` (as opposed
-to `&T`, which is).
+This fails because `&mut T` is not `Copy`, even when `T` is `Copy` (this
+differs from the behavior for `&T`, which is `Copy` when `T` is `Copy`).
 "##,
 
 E0206: r##"