-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
While trying to do some magic with traits I've stumbled over the following issue:
Rustc is telling me that some trait bound is missing and suggest to add this bound. Now is the issue that exactly this bounds is already in the where clause.
More or less minimal self contained example
Workaround:
Replace every occurrence of Collection
in the Factory
trait with Vec<TypeA>
, but this removes the freedom the add additional impl's of Factory
using other collection types.
SwishSwushPow, jonsyu1 and tomaka
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.