-
I noticed a few issues with Salsa's macro that impact the accuracy of rust-analyzer's semantic highlighting. While the [syntax theme](https://github.com/matklad/pale-fire) that I'm using has support f…
-
## Reproduce
1. Use VSCode open repo folder as workspace.
2. Use rust-analysis as lint.
3. Open file `lib/grammers-client/test/deps.rs`
4. It shows an error on include macros:
> failed to loa…
-
Ideally CI would verify that the macros output valid Rust code. Compiling the crate itself is not as helpful because it does not tell us if the macro expansion is valid Rust.
Note that this ideal m…
-
### Describe the bug
When writing macro's the indentation acts a bit strange in certain cases, which means i need to manually fix them.
When i add a pair of braces inside the macro it doesn't increa…
-
### Describe the bug
the [rust macro inject][macro] for rust conflicts with other injects, such as the [html inject][html] as well as with custom ones, like my [SQL][sql] one.
Using `:TSHighlig…
-
`proc_macro_deps` requires `CrateInfo` provider though `CrateGroupInfo` is also supported.
-
[Procedural Macros in Rust – A Handbook for Beginners](https://www.freecodecamp.org/news/procedural-macros-in-rust/)
-
**rust-analyzer version**: `rust-analyzer version: 0.3.2096-standalone`
**rustc version**: (eg. output of `rustc -V`)
**editor or extension**: VSCode extension `v0.3.2096`
**repository link (…
-
zulip thread: https://rust-lang.zulipchat.com/#narrow/channel/213817-t-lang/topic/proc-macro.20span.20syntax.20context.20docs.20and.20best.20practices
Are there any clear docs or guidance about proc-…
-
When opening [this file](https://github.com/RalfJung/rustc-build-sysroot/blob/6ebd8d6022df6180b5705c71544655757ef23db5/src/lib.rs#L423), RA briefly shows an incorrect warning:
![Image](https://github…