Update rust grammar to be pulled from main branch (#194787)

Discovered through https://github.com/microsoft/vscode/pull/194758
This commit is contained in:
Alex Ross
2023-10-04 12:46:43 +02:00
committed by GitHub
parent b6860e399a
commit 81f0e9825a
3 changed files with 11 additions and 2 deletions

View File

@@ -888,7 +888,7 @@
"patterns": [
{
"comment": "namespace (non-type, non-function path segment)",
"match": "(?<![A-Za-z0-9_])([a-z0-9_]+)((?<!super|self)::)",
"match": "(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!super|self)::)",
"captures": {
"1": {
"name": "entity.name.namespace.rust"