diff options
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 8 |
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##" |
