Skip to content

Commit 850b613

Browse files
authored
Rollup merge of rust-lang#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.
2 parents 7759199 + bcab7e2 commit 850b613

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RELEASES.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ Misc
9494

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

0 commit comments

Comments
 (0)