Improve wording for E0204 and E0205 long diagnostic messages.
This commit is contained in:
parent
d730750d24
commit
a40c49c6db
1 changed files with 4 additions and 4 deletions
|
@ -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##"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue