Closed alshdavid closed 6 months ago
Are you using a Nightly toolchain? Try to update it or switch to stable. If it does not help. then I think it's better to ask in the rust-analyzer repository after looking for similar issues.
Appears this can be solved for now with this syntax:
let mut hasher = <Sha256 as Digest>::new();
Closing in favor of the rust-analyzer issue. Hopefully, it will be fixed soon.
In VSCode I am getting this error:
However
cargo build
succeeds without issue.Have I misconfigured something?