distil / diffus

Apache License 2.0
48 stars 6 forks source link

Derive macro expands to ambiguous form #101

Open Diggsey opened 3 years ago

Diggsey commented 3 years ago

Macros should expand to code which calls trait methods via UFCS instead of via .method_name() as the latter is ambiguous when multiple traits with the same method names are in scope.

In this case the diff method is called ambiguously from macro-generated code.