False positive in macro expansion (Did not find struct MyJsClass
parsed before expand #[napi] for impl)
#17429
Labels
MyJsClass
parsed before expand #[napi] for impl)
#17429
Hi, I'm a bit new to using rust but I like to do a lot of research on what I use and I've had problems with the rust-analyzer as it's a false positive because the code works, disabling macro expansion doesn't mark it as an error.
I was exploring and testing a little bit the possible solutions that I was seeing in the issues of this repository, like this #17231.
But my solution is this comment.
I'm sorry for my bad Englishrust-analyzer version: 0.4.1999-standalone (6b8b8ff 2024-06-14)
rustc version: rustc 1.79.0 (129f3b996 2024-06-10)
editor or extension: VSCode Insiders (only rust-analyzer enable)
relevant settings:
D:\Programs\Rust\.cargo
D:\Programs\Rust\.rustup
repository link (if public, optional): repo for testing
code snippet to reproduce:
The text was updated successfully, but these errors were encountered: