ambiguous multi-segment paths and min_generic_const_exprs
will break derives
#55
Labels
C-design-docs
Category: This is part of our design documentation
What is this
This is a design document for const generics. Any discussions about its content should be on zulip. The conclusions of these discussions should then be edited back into this issue. Please do not post any comments directly in this issue.
Content
The
derive(Clone)
cannot distinguish whetherT::Assoc
is a type or const argument. For type arguments it adds awhere T::Assoc: Clone
bound to the generated impl. This will therefore likely have to fail wiht an error as the derive tries to emit aT::Assoc: Clone
bound which is not valid.The text was updated successfully, but these errors were encountered: