Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support c"..." literals #14751

Closed
enderger opened this issue May 6, 2023 · 4 comments
Closed

Support c"..." literals #14751

enderger opened this issue May 6, 2023 · 4 comments
Labels
A-parser parser issues A-ty type system / type inference / traits / method resolution B-unstable unstable feature C-feature Category: feature request S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work.

Comments

@enderger
Copy link

enderger commented May 6, 2023

rust-analyzer version: Commit a4966c9

rustc version: 2023-05-05

relevant settings: None

Recently, RFC3448 introduced the c"..." syntax for string literals. Rust-analyzer needs to be updated to support this.

@enderger enderger added the C-bug Category: bug label May 6, 2023
@lnicola

This comment was marked as resolved.

@lnicola lnicola added C-feature Category: feature request and removed C-bug Category: bug labels May 6, 2023
@lnicola
Copy link
Member

lnicola commented May 6, 2023

rust-lang/rfcs#3348

@lowr lowr added A-ty type system / type inference / traits / method resolution A-parser parser issues S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work. B-unstable unstable feature labels May 6, 2023
@lowr
Copy link
Contributor

lowr commented May 6, 2023

This is blocked on rustc_* crates autopublish; we need up-to-date rustc_lexer to support the new literal.

@lowr
Copy link
Contributor

lowr commented May 18, 2023

Implemented in #14837 🎉

@lowr lowr closed this as completed May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-parser parser issues A-ty type system / type inference / traits / method resolution B-unstable unstable feature C-feature Category: feature request S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work.
Projects
None yet
Development

No branches or pull requests

3 participants