Skip to content

Commit dc76544

Browse files
Merge pull request #354 from Havvy/trait-warning-removal
Remove auto traits not deduped warning
2 parents 320c8e7 + 0fe855b commit dc76544

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/types.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -585,10 +585,6 @@ For example, `dyn Trait + Send + UnwindSafe` is the same as
585585
> `dyn Send + Sync` is a different type from `dyn Sync + Send`. See
586586
> [issue 33140].
587587
588-
> Warning: Including the same auto trait multiple times is allowed, and each
589-
> instance is considered a unique type. As such, `dyn Trait + Send` is a
590-
> distinct type to `dyn Trait + Send + Send`. See [issue 47010].
591-
592588
Due to the opaqueness of which concrete type the value is of, trait objects are
593589
[dynamically sized types]. Like all
594590
<abbr title="dynamically sized types">DSTs</abbr>, trait objects are used

0 commit comments

Comments
 (0)