Rollup merge of #52929 - Havvy:patch-1, r=alexcrichton

Update compatibility note for 1.28.0 to be correct

You can still put implementations on `dyn Trait + Send + Send`, but it'd be the same as putting them on `dyn Trait + Send`. This is why the error is that there are duplicate definitions in the example.
This commit is contained in:
Pietro Albini 2018-08-01 10:13:10 +02:00 committed by GitHub
commit 850b613b60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,9 +94,9 @@ Misc
Compatibility Notes Compatibility Notes
------------------- -------------------
- [Rust will no longer consider trait objects with duplicated constraints to - [Rust will consider trait objects with duplicated constraints to be the same
have implementations.][51276] For example the below code will now fail type as without the duplicated constraint.][51276] For example the below code will
to compile. now fail to compile.
```rust ```rust
trait Trait {} trait Trait {}