Open griffi-gh opened 1 year ago
This one is strange to me, and I can't reproduce it with simple samples. Do you see the error if you replace your async fn
with a simple fn which returns an impl Future
? And would rustc accept your code in that case?
And would rustc accept your code in that case?
Crate compiles without any issues.
Right now rustc accepts it, rust-analyzer doesn't.
I can try adding impl Future later
I can also just link the commit at which this issue happens, I just started the project so it's pretty small and the issue should be easy to isolate
I can also just link the commit at which this issue happens
That would be great.
Got the same problem using version:
rust-analyzer 0.3.1463-standalone (236576227 2023-04-02)
@adrianncovaci That is #14479
Should be fixed by #14486.
Crate compiles without any issues.
rust-analyzer version: rust-analyzer version: 0.4.1462-standalone (e87154017 2023-04-04)
rustc version: rustc 1.70.0-nightly (7820b62d2 2023-03-05)
(also tested on rustc
1.70.0-nightly (cf7ada217 2023-04-03)
)relevant settings: -