File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2687,7 +2687,7 @@ pub enum Node<'hir> {
26872687 Crate ( & ' hir CrateItem < ' hir > ) ,
26882688}
26892689
2690- impl Node < ' _ > {
2690+ impl < ' hir > Node < ' hir > {
26912691 pub fn ident ( & self ) -> Option < Ident > {
26922692 match self {
26932693 Node :: TraitItem ( TraitItem { ident, .. } )
@@ -2698,7 +2698,7 @@ impl Node<'_> {
26982698 }
26992699 }
27002700
2701- pub fn fn_decl ( & self ) -> Option < & FnDecl < ' _ > > {
2701+ pub fn fn_decl ( & self ) -> Option < & FnDecl < ' hir > > {
27022702 match self {
27032703 Node :: TraitItem ( TraitItem { kind : TraitItemKind :: Fn ( fn_sig, _) , .. } )
27042704 | Node :: ImplItem ( ImplItem { kind : ImplItemKind :: Fn ( fn_sig, _) , .. } )
@@ -2722,7 +2722,7 @@ impl Node<'_> {
27222722 }
27232723 }
27242724
2725- pub fn generics ( & self ) -> Option < & Generics < ' _ > > {
2725+ pub fn generics ( & self ) -> Option < & ' hir Generics < ' hir > > {
27262726 match self {
27272727 Node :: TraitItem ( TraitItem { generics, .. } )
27282728 | Node :: ImplItem ( ImplItem { generics, .. } ) => Some ( generics) ,
You can’t perform that action at this time.
0 commit comments