mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Simplify NameClass::classify
This commit is contained in:
parent
37a87708ae
commit
a574434c3f
3 changed files with 102 additions and 116 deletions
|
@ -1130,6 +1130,7 @@ to_def_impls![
|
|||
(crate::TypeParam, ast::TypeParam, type_param_to_def),
|
||||
(crate::LifetimeParam, ast::LifetimeParam, lifetime_param_to_def),
|
||||
(crate::ConstParam, ast::ConstParam, const_param_to_def),
|
||||
(crate::GenericParam, ast::GenericParam, generic_param_to_def),
|
||||
(crate::MacroDef, ast::Macro, macro_to_def),
|
||||
(crate::Local, ast::IdentPat, bind_pat_to_def),
|
||||
(crate::Local, ast::SelfParam, self_param_to_def),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue