-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rust] Use
keyword.declaration
scope (#3911)
* [Rust] Use `keyword.declaration` scope Following the example of Java, we're replacing the `storage.type` scope with `keyword.declaration` without keeping the `storage.type` for compatibility. Also, like in Java, the `use` keyword gets a `keyword.declaration.import` scope to signal that it is introducing names into the current namespace. `type` aliases have slightly been refactored to properly match `where` clauses. (I did a bit of work twice here because I forgot to `git pull` before and included the remainder …) * [Rust] Refine scopes of variable declaration keywords * [Rust] Also match `macro_rules!` as a keyword
- Loading branch information
1 parent
0647aa3
commit 7b10f9b
Showing
15 changed files
with
172 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.