Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCan we emit compile-error on `.select(fieldname1)` for `struct{fieldname2)`? #1216
Comments
This comment has been minimized.
|
By design, no. |
sgrif
closed this
Sep 28, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
limira commentedSep 28, 2017
What I have
What I did
Note that there is a typo in it. I mistyped: maxy instead of maxx.
The rust program compiled and ran without any issue, but obviously gave me a wrong result that mismatched to my intention.
Can diesel help prevent this type of error?