mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Parse trait alias as a distinct AST type
This commit is contained in:
parent
9b441b9c67
commit
2e7d2c2d04
11 changed files with 103 additions and 10 deletions
|
@ -86,6 +86,7 @@ pub(crate) const KINDS_SRC: KindsSrc<'_> = KindsSrc {
|
|||
"STATIC",
|
||||
"CONST",
|
||||
"TRAIT",
|
||||
"TRAIT_ALIAS",
|
||||
"IMPL",
|
||||
"TYPE_ALIAS",
|
||||
"MACRO_CALL",
|
||||
|
|
|
@ -783,6 +783,7 @@ fn extract_struct_traits(ast: &mut AstSrc) {
|
|||
"Enum",
|
||||
"Variant",
|
||||
"Trait",
|
||||
"TraitAlias",
|
||||
"Module",
|
||||
"Static",
|
||||
"Const",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue