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 {
312
312
}
313
313
}
314
314
impl ast:: AttrsOwner for Block { }
315
+ impl ast:: ModuleItemOwner for Block { }
315
316
impl Block {
316
317
pub fn statements ( & self ) -> AstChildren < Stmt > {
317
318
AstChildren :: new ( & self . syntax )
Original file line number Diff line number Diff line change @@ -653,6 +653,7 @@ Grammar(
653
653
],
654
654
traits : [
655
655
"AttrsOwner" ,
656
+ "ModuleItemOwner" ,
656
657
]
657
658
),
658
659
"ParamList" : (
@@ -664,14 +665,14 @@ Grammar(
664
665
"SelfParam" : (
665
666
traits : [
666
667
"TypeAscriptionOwner" ,
667
- "AttrsOwner" ,
668
+ "AttrsOwner" ,
668
669
]
669
670
),
670
671
"Param" : (
671
672
options : [ "Pat" ],
672
673
traits : [
673
674
"TypeAscriptionOwner" ,
674
- "AttrsOwner" ,
675
+ "AttrsOwner" ,
675
676
]
676
677
),
677
678
"UseItem" : (
You can’t perform that action at this time.
0 commit comments