rust-analyzer
rust-analyzer copied to clipboard
No error in execution, but the editor still showing "proc-macro panicked: expected a function name rust-analyzer (macro-error)"
I got this issue in the editor, but running the test has nothing to do with the error, everything ran just fine, i wonder if this is related to the rust analyzer or the macro from the lib itself
rust-analyzer version: rust-analyzer version: 0.3.2693-standalone
rustc version: rustc 1.93.0-nightly (3ff30e7ea 2025-11-29)
editor or extension: Cursor
relevant settings:
code snippet to reproduce:
use wasm_bindgen_test::*;
#[wasm_bindgen_test]
fn test_something() {}