File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -470,12 +470,6 @@ impl Span {
470470 #[ cfg( span_locations) ]
471471 pub fn start ( & self ) -> LineColumn {
472472 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) ) ]
479473 Span :: Compiler ( _) => LineColumn { line : 0 , column : 0 } ,
480474 Span :: Fallback ( s) => s. start ( ) ,
481475 }
@@ -484,12 +478,6 @@ impl Span {
484478 #[ cfg( span_locations) ]
485479 pub fn end ( & self ) -> LineColumn {
486480 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) ) ]
493481 Span :: Compiler ( _) => LineColumn { line : 0 , column : 0 } ,
494482 Span :: Fallback ( s) => s. end ( ) ,
495483 }
You can’t perform that action at this time.
0 commit comments