about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2024-10-22 20:58:25 +0300
committerChayim Refael Friedman <chayimfr@gmail.com>2024-10-22 21:49:17 +0300
commit8f36d1c94ad0d046f0e25906f521f8587e775b9b (patch)
tree4ef3aaf9fa09788ab5b816b2500ba906f2946cd0 /compiler/rustc_codegen_llvm/src
parent7ee25a0d70bb92b9e55c75c84775a3b6c378a49a (diff)
downloadrust-8f36d1c94ad0d046f0e25906f521f8587e775b9b.tar.gz
rust-8f36d1c94ad0d046f0e25906f521f8587e775b9b.zip
Correctly resolve variables and labels from before macro definition in macro expansion
E.g.:
```rust
let v;
macro_rules! m { () => { v }; }
```

This was an existing bug, but it was less severe because unless the variable was shadowed it would be correctly resolved. With hygiene however, without this fix the variable is never resolved.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions