-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[fixture]
: Weird behaviour with where
#116
Comments
Ok, thanks to report it: you catch a wired case. I need to clean where clause to remove unused types for partial arguments implementations. I should take in account when a type is mentioned just in type constrains and not explicit in function arguments. In this case Ok I'll add this case to may test and try to fix it. |
Great! and thanks again for this great crate! |
Unfortunately I cannot fix it for the next release (I'm releasing right now) because the fix need some develop effort and I should just release an hot fix and a new feature ... I hope to fix it ASAP in the next weeks. |
Ok, there are two issues here in the code that clean the signature (we should do it to create the partials impls). We perform clean action also in the base impl and that exposed the issue in some simpler cases.
|
Ok I'va also noted that we miss follow:
I've no idea if a lifetime attribute can be useful for fixture... but I'll implement it |
Fixed in 0.10.0 Released today |
Thanks you for your time! Very much appreciate it. I've tried to understand the code, now my brain hurts :) |
Using
#[fixture]
withwhere
syntax yields some errors with unclear error messages.Here is my test code:
The text was updated successfully, but these errors were encountered: