File tree 1 file changed +2
-2
lines changed
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> {
1198
1198
pub fn fatal ( & self , m : & str ) -> DiagnosticBuilder < ' a > {
1199
1199
self . sess . span_diagnostic . struct_span_fatal ( self . span , m)
1200
1200
}
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 > {
1202
1202
self . sess . span_diagnostic . struct_span_fatal ( sp, m)
1203
1203
}
1204
1204
fn span_fatal_err < S : Into < MultiSpan > > ( & self , sp : S , err : Error ) -> DiagnosticBuilder < ' a > {
@@ -2469,7 +2469,7 @@ impl<'a> Parser<'a> {
2469
2469
}
2470
2470
2471
2471
/// 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 > ,
2473
2473
lo : Span , blk_mode : BlockCheckMode ,
2474
2474
outer_attrs : ThinVec < Attribute > )
2475
2475
-> PResult < ' a , P < Expr > > {
You can’t perform that action at this time.
0 commit comments