Handle self/super/crate in PathSegment as NameRef
This commit is contained in:
@@ -750,6 +750,7 @@ to_def_impls![
|
||||
(crate::ConstParam, ast::ConstParam, const_param_to_def),
|
||||
(crate::MacroDef, ast::MacroRules, macro_rules_to_def),
|
||||
(crate::Local, ast::IdentPat, bind_pat_to_def),
|
||||
(crate::Local, ast::SelfParam, self_param_to_def),
|
||||
(crate::Label, ast::Label, label_to_def),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user