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 up#insert error: unable to infer enough type information about `_` #8
Comments
This comment has been minimized.
|
It also compiles if I set a return value for the function:
|
This comment has been minimized.
|
This is a hole in the docs. If you're not going to use the return value, you should use |
sgrif
closed this
Nov 27, 2015
sgrif
reopened this
Nov 27, 2015
This comment has been minimized.
|
Leaving this open since there's an actionable problem |
sgrif
added this to the 0.1 milestone
Nov 28, 2015
sgrif
added
the
good first issue
label
Nov 28, 2015
This comment has been minimized.
|
Fixed by 58b73cb |
sgrif
closed this
Nov 28, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mfpiccolo commentedNov 27, 2015
@sgrif I am setting up a simple server with yaqb and I am running into a problem with insert that I cannot get past. I ultimately keep running into this error when trying to use insert with a NewUser struct.
If I switch to insert_returning_count it works fine.
Here is the line causing the error:
https://github.com/mfpiccolo/yaqb_test/blob/master/src/models/user.rs#L40