mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 07:04:22 +00:00
internal: add reserved keywords
This commit is contained in:
parent
89779ca55e
commit
e326b634d1
2 changed files with 31 additions and 10 deletions
File diff suppressed because one or more lines are too long
|
@ -65,11 +65,11 @@ pub(crate) const KINDS_SRC: KindsSrc<'_> = KindsSrc {
|
|||
(">>=", "SHREQ"),
|
||||
],
|
||||
keywords: &[
|
||||
"as", "async", "await", "box", "break", "const", "continue", "crate", "do", "dyn", "else",
|
||||
"enum", "extern", "false", "fn", "for", "if", "impl", "in", "let", "loop", "macro",
|
||||
"match", "mod", "move", "mut", "pub", "ref", "return", "become", "self", "Self", "static",
|
||||
"struct", "super", "trait", "true", "try", "type", "unsafe", "use", "where", "while",
|
||||
"yield",
|
||||
"abstract", "as", "async", "await", "become", "box", "break", "const", "continue", "crate",
|
||||
"do", "dyn", "else", "enum", "extern", "false", "final", "fn", "for", "if", "impl", "in",
|
||||
"let", "loop", "macro", "match", "mod", "move", "mut", "override", "priv", "pub", "ref",
|
||||
"return", "self", "Self", "static", "struct", "super", "trait", "true", "try", "type",
|
||||
"typeof", "unsafe", "unsized", "use", "virtual", "where", "while", "yield",
|
||||
],
|
||||
contextual_keywords: &[
|
||||
"auto",
|
||||
|
|
Loading…
Reference in a new issue