Open eira-fransham opened 6 years ago
Unfortunately, this isn't possible to solve with a proc macro. Proc macros run before any useful type information is available, so the only thing they have to go on is the actual type names that are present in the definition of the decorated type.
Currently it will generate false positives on cases like:
and false negatives on cases like: