zargony / atom-language-rust

Rust language support in Atom - LOOKING FOR MAINTAINER, see #144
MIT License
116 stars 33 forks source link

Rust syntax highlighting breaks with raw strings in attributes #151

Open alexr00 opened 4 years ago

alexr00 commented 4 years ago

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:

  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

matthewess commented 3 years ago

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.