The state-shift macros currently require the user to have PhantomData in scope. The current design opens up the possibility that it can be confused by other symbols that the user may have renamed. It is better for the macro hygiene not to require PhantomData to be imported, and use the full qualifying path instead.
What is the feature you would like to see?
The state-shift macros currently require the user to have PhantomData in scope. The current design opens up the possibility that it can be confused by other symbols that the user may have renamed. It is better for the macro hygiene not to require
PhantomData
to be imported, and use the full qualifying path instead.