If it is a cable type feeder and If the EGC is being used as a current carrying conductor it is a violation.
Then again, if the feeder is installed in a metallic conduit you still have a 3 conductor feeder but are using the metallic conduit as a EGC and have 2 hots and a neutral then your installation is ok. assuming the EGC is not being used as a current carrying conductor.