File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1198,7 +1198,7 @@ impl<'a> Parser<'a> {
11981198 pub fn fatal ( & self , m : & str ) -> DiagnosticBuilder < ' a > {
11991199 self . sess . span_diagnostic . struct_span_fatal ( self . span , m)
12001200 }
1201- fn span_fatal < S : Into < MultiSpan > > ( & self , sp : S , m : & str ) -> DiagnosticBuilder < ' a > {
1201+ pub fn span_fatal < S : Into < MultiSpan > > ( & self , sp : S , m : & str ) -> DiagnosticBuilder < ' a > {
12021202 self . sess . span_diagnostic . struct_span_fatal ( sp, m)
12031203 }
12041204 fn span_fatal_err < S : Into < MultiSpan > > ( & self , sp : S , err : Error ) -> DiagnosticBuilder < ' a > {
@@ -2469,7 +2469,7 @@ impl<'a> Parser<'a> {
24692469 }
24702470
24712471 /// Parse a block or unsafe block
2472- fn parse_block_expr ( & mut self , opt_label : Option < Label > ,
2472+ pub fn parse_block_expr ( & mut self , opt_label : Option < Label > ,
24732473 lo : Span , blk_mode : BlockCheckMode ,
24742474 outer_attrs : ThinVec < Attribute > )
24752475 -> PResult < ' a , P < Expr > > {
You can’t perform that action at this time.
0 commit comments