Skip to content

Conversation

@sgrif
Copy link
Member

@sgrif sgrif commented Feb 15, 2017

The phantom data was just plain unneccessary. It was either an oversight
or a bug in older rust versions where SqlType=Array<ST> didn't count
as the type being constrained. The HasSqlType constraints are
sufficiently covered elsewhere (and frankly, I'm fairly certain that
trait is useless and can be removed). It should be noted that we don't
have a compile-test covering that case though, as pg is the only backend
with additional types.

The phantom data was just plain unneccessary. It was either an oversight
or a bug in older rust versions where `SqlType=Array<ST>` didn't count
as the type being constrained. The `HasSqlType` constraints are
sufficiently covered elsewhere (and frankly, I'm fairly certain that
trait is useless and can be removed). It should be noted that we don't
have a compile-test covering that case though, as pg is the only backend
with additional types.
@sgrif sgrif requested a review from killercup February 15, 2017 14:04
@sgrif
Copy link
Member Author

sgrif commented Feb 15, 2017

Rolled up into #709

@sgrif sgrif closed this Feb 15, 2017
@pksunkara pksunkara deleted the sg-clean-up-any-all branch February 28, 2023 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants