mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Just remove the macro fallback
This commit is contained in:
parent
fe435ffb27
commit
ac314f88c6
@ -40,7 +40,7 @@ macro_rules! define_semantic_token_types {
|
||||
define_semantic_token_types![
|
||||
(ATTRIBUTE, "attribute"),
|
||||
(BOOLEAN, "boolean"),
|
||||
(BUILTIN_TYPE, "type.defaultLibrary"),
|
||||
(BUILTIN_TYPE, "builtinType"),
|
||||
(ESCAPE_SEQUENCE, "escapeSequence"),
|
||||
(FORMAT_SPECIFIER, "formatSpecifier"),
|
||||
(GENERIC, "generic"),
|
||||
@ -70,7 +70,7 @@ macro_rules! define_semantic_token_modifiers {
|
||||
}
|
||||
|
||||
define_semantic_token_modifiers![
|
||||
(CONSTANT, "readonly"),
|
||||
(CONSTANT, "constant"),
|
||||
(CONTROL_FLOW, "controlFlow"),
|
||||
(INJECTED, "injected"),
|
||||
(MUTABLE, "mutable"),
|
||||
|
@ -948,6 +948,9 @@
|
||||
"boolean": [
|
||||
"constant.language.boolean.rust"
|
||||
],
|
||||
"builtinType": [
|
||||
"support.type.primitive.rust"
|
||||
],
|
||||
"lifetime": [
|
||||
"storage.modifier.lifetime.rust"
|
||||
],
|
||||
@ -966,6 +969,9 @@
|
||||
"keyword.controlFlow": [
|
||||
"keyword.control.rust"
|
||||
],
|
||||
"variable.constant": [
|
||||
"variable.other.constant.rust"
|
||||
],
|
||||
"formatSpecifier": [
|
||||
"punctuation.section.embedded.rust"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user