Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Rust syntax highlighting breaks with raw strings in attributes #151

Open
alexr00 opened this issue Apr 23, 2020 · 1 comment
Open

Rust syntax highlighting breaks with raw strings in attributes #151

alexr00 opened this issue Apr 23, 2020 · 1 comment

Comments

@alexr00
Copy link

alexr00 commented Apr 23, 2020

From @ExoticMatter in microsoft/vscode#95782

VSCode Version: 1.44.2

When raw string literals that use ##s appear in attributes in a Rust file, syntax highlighting breaks.

Steps to Reproduce:

  1. Copy the following code into a Rust source file:
#[cfg(feature = r#"""#)]
const _: () = ();

You will get something similar to the following:

Screenshot_20200421_121815

Does this issue occur when all extensions are disabled?: Yes

@sloane-shark
Copy link

I opened #154 to address this! But it seems to have failed in CI, and I'm not sure how to make progress getting it merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants