mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Update guide.md to reflect support for proc-macros
This commit is contained in:
parent
c09151c619
commit
88d0efc243
1 changed files with 2 additions and 3 deletions
|
@ -88,9 +88,8 @@ is lower than Cargo's model of packages: each Cargo package consists of several
|
||||||
targets, each of which is a separate crate (or several crates, if you try
|
targets, each of which is a separate crate (or several crates, if you try
|
||||||
different feature combinations).
|
different feature combinations).
|
||||||
|
|
||||||
Procedural macros should become inputs as well, but currently they are not
|
Procedural macros are inputs as well, roughly modeled as a crate with a bunch of
|
||||||
supported. Procedural macro will be a black box `Box<dyn Fn(TokenStream) -> TokenStream>`
|
additional black box `dyn Fn(TokenStream) -> TokenStream` functions.
|
||||||
function, and will be inserted into the crate graph just like dependencies.
|
|
||||||
|
|
||||||
Soon we'll talk how we build an LSP server on top of `Analysis`, but first,
|
Soon we'll talk how we build an LSP server on top of `Analysis`, but first,
|
||||||
let's deal with that paths issue.
|
let's deal with that paths issue.
|
||||||
|
|
Loading…
Reference in a new issue