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
Just for context: I don't believe it's as much us breaking rustc_private, but introducing a diagnostic for unresolved imports in rust-analyzer instead of depending on cargo check. So this is very likely #6016.
You should be able to silence the diagnostic by adding the following to your vscode config:
Aah gotcha, thanks, that is indeed what's happening (diagnostics for things in rustc crates still work, e.g. use rustc_ast::asdf errors but use rustc_ast::[valid item] doesn't), sorry for the silly bug report! Should have investigated a little bit more and figured that out.
Setup
Cargo.toml:
rust-toolchain:
src/lib.rs:
Expected behavior, behavior on rust-analyzer 2020-09-14
No error
Actual behavior on rust-analyzer 2020-09-21
Red squiggles on the extern crate, with popup
unresolved extern crate
.cargo build
etc. still works fine.The text was updated successfully, but these errors were encountered: