1
Fork 0

Improve wording for E0204 and E0205 long diagnostic messages.

This commit is contained in:
Nick Hamann 2015-05-10 12:55:12 -05:00
parent d730750d24
commit a40c49c6db

View file

@ -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##"