Template type in tagged union should not be copiable field as it requires ManuallyDrop. Filter out copy derive when the variable is resolved to template type.
Fix: #2157
Now the input.hpp in the issue will generate non rust union or correct ManuallyDrop for generic type.
Template type in tagged union should not be copiable field as it requires ManuallyDrop. Filter out copy derive when the variable is resolved to template type.
Fix: #2157
Now the input.hpp in the issue will generate non rust union or correct ManuallyDrop for generic type.