Replies: 1 comment
-
Thanks for raising this. I think that might be related to #114 There are several impls for different specific types in diesel, not only that generic one for The other question is why rustc even believes that these methods would be implemented for slices at all, as the bounds on the method itself exclude that + the arguments are different. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/weiznich/diesel_async/blob/v0.5.1/src/run_query_dsl/mod.rs#L644 currently implements the
RunQueryDsl
trait for every existing type in the application, whilediesel
itself restricts it towhere T: Table
.Is this an intentional choice?
I just ran into an issue where there was a conflict with the
first()
fn of a slice and theLimitDsl
due to this blanket implementation.Beta Was this translation helpful? Give feedback.
All reactions