[Rust] Highlighting with multiple union
on a line
#3821
Labels
T: bug
A bug in an existing language feature
union
on a line
#3821
What happened?
The rust syntax has some bugs when using multiple union() functions in one line. This entirely breaks highlighting for the rest of the file. As a temporary fix I've added this line to the end of the "union-body" section in the Rust syntax so my files don't look so bad, there is definitely a better way but this works for me for now.
Here is the rust code causing the issue, the lines after the union() functions do not get highlighted correctly in sublime.
The text was updated successfully, but these errors were encountered: