diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-12 22:57:52 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-12 22:57:52 +0530 |
| commit | 78cf0f8edf0e5268b2458dfd8954261e4701525d (patch) | |
| tree | 172e34d3ec22720eff50cbd7c03c029462343586 /src | |
| parent | e216057dac596904478430858affa1e0bf2cf7d7 (diff) | |
| parent | 93c21c7bcad447fb4834d9013815ef44827328c9 (diff) | |
| download | rust-78cf0f8edf0e5268b2458dfd8954261e4701525d.tar.gz rust-78cf0f8edf0e5268b2458dfd8954261e4701525d.zip | |
Rollup merge of #25327 - Ms2ger:copy-ref, r=pnkfelix
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index ea872d10144..f9565d528e8 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##" |
