@@ -554,6 +554,7 @@ impl<'a> AstNode<'a> for ConstDef<'a> {
554
554
impl < ' a > ast:: NameOwner < ' a > for ConstDef < ' a > { }
555
555
impl < ' a > ast:: TypeParamsOwner < ' a > for ConstDef < ' a > { }
556
556
impl < ' a > ast:: AttrsOwner < ' a > for ConstDef < ' a > { }
557
+ impl < ' a > ast:: DocCommentsOwner < ' a > for ConstDef < ' a > { }
557
558
impl < ' a > ConstDef < ' a > { }
558
559
559
560
// ContinueExpr
@@ -659,6 +660,7 @@ impl<'a> AstNode<'a> for EnumDef<'a> {
659
660
impl < ' a > ast:: NameOwner < ' a > for EnumDef < ' a > { }
660
661
impl < ' a > ast:: TypeParamsOwner < ' a > for EnumDef < ' a > { }
661
662
impl < ' a > ast:: AttrsOwner < ' a > for EnumDef < ' a > { }
663
+ impl < ' a > ast:: DocCommentsOwner < ' a > for EnumDef < ' a > { }
662
664
impl < ' a > EnumDef < ' a > { }
663
665
664
666
// Expr
@@ -1761,6 +1763,7 @@ impl<'a> AstNode<'a> for Module<'a> {
1761
1763
1762
1764
impl < ' a > ast:: NameOwner < ' a > for Module < ' a > { }
1763
1765
impl < ' a > ast:: AttrsOwner < ' a > for Module < ' a > { }
1766
+ impl < ' a > ast:: DocCommentsOwner < ' a > for Module < ' a > { }
1764
1767
impl < ' a > Module < ' a > {
1765
1768
pub fn item_list ( self ) -> Option < ItemList < ' a > > {
1766
1769
super :: child_opt ( self )
@@ -3035,6 +3038,7 @@ impl<'a> AstNode<'a> for StaticDef<'a> {
3035
3038
impl < ' a > ast:: NameOwner < ' a > for StaticDef < ' a > { }
3036
3039
impl < ' a > ast:: TypeParamsOwner < ' a > for StaticDef < ' a > { }
3037
3040
impl < ' a > ast:: AttrsOwner < ' a > for StaticDef < ' a > { }
3041
+ impl < ' a > ast:: DocCommentsOwner < ' a > for StaticDef < ' a > { }
3038
3042
impl < ' a > StaticDef < ' a > { }
3039
3043
3040
3044
// Stmt
@@ -3113,6 +3117,7 @@ impl<'a> AstNode<'a> for StructDef<'a> {
3113
3117
impl < ' a > ast:: NameOwner < ' a > for StructDef < ' a > { }
3114
3118
impl < ' a > ast:: TypeParamsOwner < ' a > for StructDef < ' a > { }
3115
3119
impl < ' a > ast:: AttrsOwner < ' a > for StructDef < ' a > { }
3120
+ impl < ' a > ast:: DocCommentsOwner < ' a > for StructDef < ' a > { }
3116
3121
impl < ' a > StructDef < ' a > {
3117
3122
pub fn fields ( self ) -> impl Iterator < Item = NamedFieldDef < ' a > > + ' a {
3118
3123
super :: children ( self )
@@ -3255,6 +3260,7 @@ impl<'a> AstNode<'a> for TraitDef<'a> {
3255
3260
3256
3261
impl < ' a > ast:: NameOwner < ' a > for TraitDef < ' a > { }
3257
3262
impl < ' a > ast:: AttrsOwner < ' a > for TraitDef < ' a > { }
3263
+ impl < ' a > ast:: DocCommentsOwner < ' a > for TraitDef < ' a > { }
3258
3264
impl < ' a > TraitDef < ' a > { }
3259
3265
3260
3266
// TryExpr
@@ -3462,6 +3468,7 @@ impl<'a> AstNode<'a> for TypeDef<'a> {
3462
3468
impl < ' a > ast:: NameOwner < ' a > for TypeDef < ' a > { }
3463
3469
impl < ' a > ast:: TypeParamsOwner < ' a > for TypeDef < ' a > { }
3464
3470
impl < ' a > ast:: AttrsOwner < ' a > for TypeDef < ' a > { }
3471
+ impl < ' a > ast:: DocCommentsOwner < ' a > for TypeDef < ' a > { }
3465
3472
impl < ' a > TypeDef < ' a > { }
3466
3473
3467
3474
// TypeParam
0 commit comments