atom-language-rust
atom-language-rust copied to clipboard
Rust syntax highlighting breaks with raw strings in attributes
From @ExoticMatter in https://github.com/microsoft/vscode/issues/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:
- Copy the following code into a Rust source file:
#[cfg(feature = r#"""#)]
const _: () = ();
You will get something similar to the following:

Does this issue occur when all extensions are disabled?: Yes
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.