File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -312,6 +312,7 @@ impl AstNode for Block {
312312 }
313313}
314314impl ast:: AttrsOwner for Block { }
315+ impl ast:: ModuleItemOwner for Block { }
315316impl Block {
316317 pub fn statements ( & self ) -> AstChildren < Stmt > {
317318 AstChildren :: new ( & self . syntax )
Original file line number Diff line number Diff line change @@ -653,6 +653,7 @@ Grammar(
653653 ],
654654 traits : [
655655 "AttrsOwner" ,
656+ "ModuleItemOwner" ,
656657 ]
657658 ),
658659 "ParamList" : (
@@ -664,14 +665,14 @@ Grammar(
664665 "SelfParam" : (
665666 traits : [
666667 "TypeAscriptionOwner" ,
667- "AttrsOwner" ,
668+ "AttrsOwner" ,
668669 ]
669670 ),
670671 "Param" : (
671672 options : [ "Pat" ],
672673 traits : [
673674 "TypeAscriptionOwner" ,
674- "AttrsOwner" ,
675+ "AttrsOwner" ,
675676 ]
676677 ),
677678 "UseItem" : (
You can’t perform that action at this time.
0 commit comments