diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-10-22 20:58:25 +0300 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-10-22 21:49:17 +0300 |
| commit | 8f36d1c94ad0d046f0e25906f521f8587e775b9b (patch) | |
| tree | 4ef3aaf9fa09788ab5b816b2500ba906f2946cd0 /compiler/rustc_codegen_llvm/src | |
| parent | 7ee25a0d70bb92b9e55c75c84775a3b6c378a49a (diff) | |
| download | rust-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
