File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ type local = rec(option.t[@ty] ty,
80
80
bool infer ,
81
81
ident ident,
82
82
option. t[ @expr] init ,
83
- def_id id) ;
83
+ def_id id,
84
+ ann ann) ;
84
85
85
86
type decl = spanned[ decl_ ] ;
86
87
tag decl_ {
Original file line number Diff line number Diff line change @@ -731,7 +731,8 @@ impure fn parse_let(parser p) -> @ast.decl {
731
731
infer = false ,
732
732
ident = ident,
733
733
init = init,
734
- id = p. next_def_id ( ) ) ;
734
+ id = p. next_def_id ( ) ,
735
+ ann = ast. ann_none ) ;
735
736
736
737
ret @spanned ( lo, hi, ast. decl_local ( @local) ) ;
737
738
}
@@ -750,7 +751,8 @@ impure fn parse_auto(parser p) -> @ast.decl {
750
751
infer = true ,
751
752
ident = ident,
752
753
init = init,
753
- id = p. next_def_id ( ) ) ;
754
+ id = p. next_def_id ( ) ,
755
+ ann = ast. ann_none ) ;
754
756
755
757
ret @spanned ( lo, hi, ast. decl_local ( @local) ) ;
756
758
}
You can’t perform that action at this time.
0 commit comments