We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fn main() { macro_rules! foo { () => { let var = 2; dbg!(var); }; } foo!(); var; }
cargo check
error[E0425]: cannot find value `var` in this scope --> src/main.rs:9:5 | 9 | var; | ^^^ not found in this scope |
from line9 open complete list output
var i32 [LS] self:: [LS] crate:: [LS] foo!() macro_rules! foo [LS] main()~ fn() [LS] ...
rust-analyzer version: rust-analyzer 1.74.0 (79e9716c 2023-11-13) and rust-analyzer 1.77.0-nightly (bf8716f1 2023-12-24)
rust-analyzer 1.74.0 (79e9716c 2023-11-13)
rust-analyzer 1.77.0-nightly (bf8716f1 2023-12-24)
rustc version: rustc 1.74.0 (79e9716c9 2023-11-13) and rustc 1.77.0-nightly (bf8716f1c 2023-12-24)
rustc 1.74.0 (79e9716c9 2023-11-13)
rustc 1.77.0-nightly (bf8716f1c 2023-12-24)
relevant settings: NONE
The text was updated successfully, but these errors were encountered:
Hygiene isn't yet implemented in rust-analyzer
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
cargo check
from line9 open complete list output
rust-analyzer version:
rust-analyzer 1.74.0 (79e9716c 2023-11-13)
andrust-analyzer 1.77.0-nightly (bf8716f1 2023-12-24)
rustc version:
rustc 1.74.0 (79e9716c9 2023-11-13)
andrustc 1.77.0-nightly (bf8716f1c 2023-12-24)
relevant settings: NONE
The text was updated successfully, but these errors were encountered: