From 93c21c7bcad447fb4834d9013815ef44827328c9 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 12 May 2015 10:52:36 +0200 Subject: [PATCH] Correct claims about &T's Copyness. --- src/librustc_typeck/diagnostics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index ea872d1014425..f9565d528e89a 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -186,7 +186,7 @@ struct Foo<'a> { ``` 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`). +differs from the behavior for `&T`, which is always `Copy`). "##, E0205: r##" @@ -216,7 +216,7 @@ enum Foo<'a> { ``` 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`). +differs from the behavior for `&T`, which is always `Copy`). "##, E0206: r##"