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
looks like the macro is executed two times, 1. before the table macro is evaluated, 2. after the table macro is evaluated. At least we can say that rust-analyzer doesn't do the same thing as cargo build.
The text was updated successfully, but these errors were encountered:
rust-analyzer version: rust-analyzer version: 0.3.2362-standalone (fb133c8 2025-03-29) [c:\Users\Tamaro.vscode\extensions\rust-lang.rust-analyzer-0.3.2362-win32-x64\server\rust-analyzer.exe]
rustc version: rustc 1.85.0 (4d91de4e4 2025-02-17)
editor or extension: VSCode 0.3.2362
repository link: https://github.com/tamaro-skaljic/rustc-vs-rust-analyzer
cd lib-test
cargo build
build successful
rust analyzer in VS Code displays proc-macro panicked
If lib_derive/src/lib.rs#L38 is replaced with
panic!("{}", ident);
looks like the macro is executed two times, 1. before the table macro is evaluated, 2. after the table macro is evaluated. At least we can say that rust-analyzer doesn't do the same thing as cargo build.
The text was updated successfully, but these errors were encountered: