rust-analyzer icon indicating copy to clipboard operation
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)"

Open TaQuanMinhLong opened this issue 2 months ago • 0 comments

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

Image

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() {}

TaQuanMinhLong avatar Dec 01 '25 01:12 TaQuanMinhLong