From 0fe855b70752803303f3a86fc6682d58b2ee4baa Mon Sep 17 00:00:00 2001 From: Havvy Date: Fri, 8 Jun 2018 20:25:58 -0700 Subject: [PATCH] Remove auto traits not deduped warning --- src/types.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/types.md b/src/types.md index a9c62eedf..d46115b6c 100644 --- a/src/types.md +++ b/src/types.md @@ -585,10 +585,6 @@ For example, `dyn Trait + Send + UnwindSafe` is the same as > `dyn Send + Sync` is a different type from `dyn Sync + Send`. See > [issue 33140]. -> Warning: Including the same auto trait multiple times is allowed, and each -> instance is considered a unique type. As such, `dyn Trait + Send` is a -> distinct type to `dyn Trait + Send + Send`. See [issue 47010]. - Due to the opaqueness of which concrete type the value is of, trait objects are [dynamically sized types]. Like all DSTs, trait objects are used