You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is closely related to #1744 and it's solution #1748
Description
Basically the same thing as #1744 - make transparent types work with =ANY($2), but when using macros such as query!() and query_as!().
Right now, the macros error out:
error[E0308]: mismatched types
--> src/main.rs:11:9
|
11 | &values
| ^
| |
| expected `&[i32]`, found `&Vec<Transparent>`
| expected due to the type of this binding
|
= note: expected reference `&[i32]`
found reference `&Vec<Transparent>`
I have found these related issues/pull requests
This is closely related to #1744 and it's solution #1748
Description
Basically the same thing as #1744 - make transparent types work with
=ANY($2)
, but when using macros such asquery!()
andquery_as!()
.Right now, the macros error out:
Reproduction steps
SQLx version
0.8.5
Enabled SQLx features
macros, postgres, runtime-tokio
Database server and version
Postgresql 17.4
Operating system
Arch Linux
Rust version
rustc 1.86.0 (05f9846f8 2025-03-31)
The text was updated successfully, but these errors were encountered: