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
Assuming its possible with your project but can you check whether using the master branch of diesel fixes this issue for you? I believe this is due to their proc-macros using an old edition which r-a struggles with.
Type inference is not happening correctly, all the time, when using Diesel.
for example, with:
for this,
x
is clearly of typeResult<Vec<OutUser>, Error>
, but rust-analyzer is identifying it as "unknown".I have a feeling that rust-analyzer is probably struggling with how the generics are being created in diesel.
I really like rust-analyzer as a project. Is there something I can help with?
rust-analyzer version: 0.4.1438-standalone (924d277 2023-03-15)
rustc 1.69.0-nightly (31f858d9a 2023-02-28)
The text was updated successfully, but these errors were encountered: