When I set the target to wasm32-unknown-unknown most if not all diagnostics do not show up in sub-crates.
rust-analyzer version: rust-analyzer version: 0.3.2593-standalone (6b2e677 2025-08-25)
rustc version: rustc 1.90.0 (1159e78c4 2025-09-14)
editor or extension: VSCode 1.105.1
relevant settings: "rust-analyzer.cargo.target": "wasm32-unknown-unknown"
repository link: https://github.com/bug-brain/rust-analyzer-wasm
code snippet to reproduce:
async fn foo() {
bar(); // no message
let n = 0;
n.await; // no message
}