Skip to content

librustc: Implement "&mut [T]" as an expression - #4138

Closed
pcwalton wants to merge 1 commit into
rust-lang:incomingfrom
pcwalton:mut-vstore-expr
Closed

librustc: Implement "&mut [T]" as an expression#4138
pcwalton wants to merge 1 commit into
rust-lang:incomingfrom
pcwalton:mut-vstore-expr

Conversation

@pcwalton

@pcwalton pcwalton commented Dec 8, 2012

Copy link
Copy Markdown
Contributor

r? @brson

@brson

brson commented Dec 8, 2012

Copy link
Copy Markdown
Contributor

r+

@pcwalton pcwalton closed this Dec 8, 2012
RalfJung added a commit to RalfJung/rust that referenced this pull request Jan 19, 2025
Use deref_poiner_as instead of deref_pointer
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
4925: Syntax highlighting for escape sequences in strings r=matklad a=ltentrup

I have added a new semantic token type `ESCAPE_SEQUENCE` as the LSP specification does not seem to have an appropriate token type. This may actually be a regression for some users, as the TextMate Rust grammar has a scope `constant.character.escape.rust` which highlights escape sequences (which caused problems with semantic highlighting, see rust-lang#4138).

Fixes rust-lang#2604.

Co-authored-by: Leander Tentrup <leander.tentrup@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