diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2018-08-01 10:13:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-01 10:13:10 +0200 |
| commit | 850b613b608326d04910700c779fa88baee1b454 (patch) | |
| tree | d7e9ba21342e5f338148729a745c39f99267e377 | |
| parent | 7759199b3f9297dcc6e14ac7fd7e50c6ba4aa2e1 (diff) | |
| parent | bcab7e28b412fa0608c32254ab0727f9480176d2 (diff) | |
| download | rust-850b613b608326d04910700c779fa88baee1b454.tar.gz rust-850b613b608326d04910700c779fa88baee1b454.zip | |
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.
| -rw-r--r-- | RELEASES.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/RELEASES.md b/RELEASES.md index 170ccac4421..13042ab07e2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -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 {} |
