cfg_attr
does not work in combination with diesel
derive attribute
#2983
Labels
cfg_attr
does not work in combination with diesel
derive attribute
#2983
Setup
Versions
Feature Flags
Problem Description
cfg_attr
does not work in combination withdiesel
derive attributeWhat are you trying to accomplish?
What is the expected output?
compiles
What is the actual output?
If however I remove the
cfg_attr
on the diesel attribute, this compiles (but then obviously fails to compile when the feature is disabled).Steps to reproduce
Add to the code above a FromSql/ToSql implementation
Notes
Might be related to #2626 @pksunkara ?
The text was updated successfully, but these errors were encountered: