Skip to content

Features/docs - #4001

Merged
graydon merged 11 commits into
rust-lang:incomingfrom
jesse99:features/docs
Nov 20, 2012
Merged

Features/docs#4001
graydon merged 11 commits into
rust-lang:incomingfrom
jesse99:features/docs

Conversation

@jesse99

@jesse99 jesse99 commented Nov 19, 2012

Copy link
Copy Markdown
Contributor

Misc reference manual improvements.

@graydon

graydon commented Nov 20, 2012

Copy link
Copy Markdown
Contributor

This is all great, thanks!

graydon added a commit that referenced this pull request Nov 20, 2012
@graydon
graydon merged commit 34b7db3 into rust-lang:incoming Nov 20, 2012
RalfJung added a commit to RalfJung/rust that referenced this pull request Nov 10, 2024
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
4029: Fix various proc-macro bugs r=matklad a=edwin0cheng

This PRs does the following things:

1. Fixed rust-lang#4001 by splitting `LIFETIME` lexer token to two mbe tokens. It is because rustc token stream expects `LIFETIME` as a combination of punct and ident, but RA `tt:TokenTree` treats it as a single `Ident` previously.
2. Fixed rust-lang#4003, by skipping `proc-macro` for completion. It is because currently we don't have `AstNode` for `proc-macro`. We would need to redesign how to implement `HasSource` for `proc-macro`.
3.  Fixed a bug how empty `TokenStream` merging in `proc-macro-srv` such that no L_DOLLAR and R_DOLLAR will be emitted accidentally. 


Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants