rust-analyzer/crates
Chayim Refael Friedman 4ac3dc1a2f 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.
2024-10-22 21:49:17 +03:00
..
base-db chore: rename salsa to ra_salsa 2024-10-14 10:09:22 -04:00
cfg Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
hir Implement semitransparent hygiene 2024-10-22 21:26:56 +03:00
hir-def Correctly resolve variables and labels from before macro definition in macro expansion 2024-10-22 21:49:17 +03:00
hir-expand Implement semitransparent hygiene 2024-10-22 21:26:56 +03:00
hir-ty Correctly resolve variables and labels from before macro definition in macro expansion 2024-10-22 21:49:17 +03:00
ide Implement semitransparent hygiene 2024-10-22 21:26:56 +03:00
ide-assists Auto merge of #18294 - Giga-Bowser:master, r=Veykril 2024-10-21 13:56:01 +00:00
ide-completion Auto merge of #18360 - roife:safe-kw-3, r=Veykril 2024-10-21 17:59:05 +00:00
ide-db Auto merge of #18370 - duncpro:goto-def-ranges, r=Veykril 2024-10-22 12:24:25 +00:00
ide-diagnostics Correctly resolve variables and labels from before macro definition in macro expansion 2024-10-22 21:49:17 +03:00
ide-ssr chore: rename salsa to ra_salsa 2024-10-14 10:09:22 -04:00
intern Merge from rust-lang/rust 2024-09-25 09:00:53 +03:00
limit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
load-cargo Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
mbe fix: FIx mbe bench tests being iteration order dependent 2024-10-21 11:54:49 +02:00
parser Auto merge of #18371 - Veykril:veykril/push-kwttrusywysp, r=Veykril 2024-10-22 11:42:11 +00:00
paths Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
proc-macro-api Fix new nightly lints 2024-10-22 11:48:41 +02:00
proc-macro-srv fix: Fix TokenStream::to_string implementation dropping quotation marks 2024-08-29 08:45:35 +02:00
proc-macro-srv-cli Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
profile Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
project-model fix: Fix CI running analysis-stats incorrectly against the standard libraries 2024-10-18 12:34:55 +02:00
ra-salsa Fix new nightly lints 2024-10-22 11:48:41 +02:00
rust-analyzer Auto merge of #18368 - Veykril:test-lsif_contains_generated_macros, r=lnicola 2024-10-22 12:10:07 +00:00
span chore: rename salsa to ra_salsa 2024-10-14 10:09:22 -04:00
stdx Use crossbeam-channel from the workspace 2024-08-09 23:48:03 +02:00
syntax Merge pull request #18254 from ChayimFriedman2/fix-mut 2024-10-22 17:40:52 +00:00
syntax-bridge When glueing together tokens from macros, merge their spans 2024-09-29 22:58:15 +03:00
test-fixture Always cache macro expansions' root node in Semantics 2024-09-17 00:19:39 +03:00
test-utils fix: Always explicitly set trait ref self types when lowering 2024-09-06 14:06:41 +02:00
text-edit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
toolchain Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
tt Fix new nightly lints 2024-10-22 11:48:41 +02:00
vfs Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
vfs-notify Auto merge of #17843 - mo8it:flycheck, r=Veykril 2024-08-12 09:27:47 +00:00