Skip to content

Commit

Permalink
Rollup merge of #52929 - Havvy:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pietroalbini committed Aug 1, 2018
2 parents 7759199 + bcab7e2 commit 850b613
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ Misc

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

Expand Down

0 comments on commit 850b613

Please sign in to comment.