File tree 1 file changed +0
-12
lines changed
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -470,12 +470,6 @@ impl Span {
470
470
#[ cfg( span_locations) ]
471
471
pub fn start ( & self ) -> LineColumn {
472
472
match self {
473
- #[ cfg( proc_macro_span) ]
474
- Span :: Compiler ( s) => {
475
- let proc_macro:: LineColumn { line, column } = s. start ( ) ;
476
- LineColumn { line, column }
477
- }
478
- #[ cfg( not( proc_macro_span) ) ]
479
473
Span :: Compiler ( _) => LineColumn { line : 0 , column : 0 } ,
480
474
Span :: Fallback ( s) => s. start ( ) ,
481
475
}
@@ -484,12 +478,6 @@ impl Span {
484
478
#[ cfg( span_locations) ]
485
479
pub fn end ( & self ) -> LineColumn {
486
480
match self {
487
- #[ cfg( proc_macro_span) ]
488
- Span :: Compiler ( s) => {
489
- let proc_macro:: LineColumn { line, column } = s. end ( ) ;
490
- LineColumn { line, column }
491
- }
492
- #[ cfg( not( proc_macro_span) ) ]
493
481
Span :: Compiler ( _) => LineColumn { line : 0 , column : 0 } ,
494
482
Span :: Fallback ( s) => s. end ( ) ,
495
483
}
You can’t perform that action at this time.
0 commit comments