@@ -315,10 +315,10 @@ fn literal_span() {
315315
316316    #[ cfg( span_locations) ]  
317317    { 
318-         assert_eq ! ( positive. span( ) . start( ) . column,  0 ) ; 
319-         assert_eq ! ( positive. span( ) . end( ) . column,  3 ) ; 
320-         assert_eq ! ( negative. span( ) . start( ) . column,  0 ) ; 
321-         assert_eq ! ( negative. span( ) . end( ) . column,  4 ) ; 
318+         assert_eq ! ( positive. span( ) . start( ) . column( ) ,  0 ) ; 
319+         assert_eq ! ( positive. span( ) . end( ) . column( ) ,  3 ) ; 
320+         assert_eq ! ( negative. span( ) . start( ) . column( ) ,  0 ) ; 
321+         assert_eq ! ( negative. span( ) . end( ) . column( ) ,  4 ) ; 
322322        assert_eq ! ( subspan. unwrap( ) . source_text( ) . unwrap( ) ,  "." ) ; 
323323    } 
324324
@@ -434,11 +434,11 @@ testing 123
434434#[ test]  
435435fn  default_span ( )  { 
436436    let  start = Span :: call_site ( ) . start ( ) ; 
437-     assert_eq ! ( start. line,  1 ) ; 
438-     assert_eq ! ( start. column,  0 ) ; 
437+     assert_eq ! ( start. line( ) ,  1 ) ; 
438+     assert_eq ! ( start. column( ) ,  0 ) ; 
439439    let  end = Span :: call_site ( ) . end ( ) ; 
440-     assert_eq ! ( end. line,  1 ) ; 
441-     assert_eq ! ( end. column,  0 ) ; 
440+     assert_eq ! ( end. line( ) ,  1 ) ; 
441+     assert_eq ! ( end. column( ) ,  0 ) ; 
442442    let  source_file = Span :: call_site ( ) . source_file ( ) ; 
443443    assert_eq ! ( source_file. path( ) . to_string_lossy( ) ,  "<unspecified>" ) ; 
444444    assert ! ( !source_file. is_real( ) ) ; 
@@ -471,10 +471,10 @@ fn span_join() {
471471
472472    let  start = joined1. unwrap ( ) . start ( ) ; 
473473    let  end = joined1. unwrap ( ) . end ( ) ; 
474-     assert_eq ! ( start. line,  1 ) ; 
475-     assert_eq ! ( start. column,  0 ) ; 
476-     assert_eq ! ( end. line,  2 ) ; 
477-     assert_eq ! ( end. column,  3 ) ; 
474+     assert_eq ! ( start. line( ) ,  1 ) ; 
475+     assert_eq ! ( start. column( ) ,  0 ) ; 
476+     assert_eq ! ( end. line( ) ,  2 ) ; 
477+     assert_eq ! ( end. column( ) ,  3 ) ; 
478478
479479    assert_eq ! ( 
480480        joined1. unwrap( ) . source_file( ) , 
@@ -719,12 +719,12 @@ fn check_spans_internal(ts: TokenStream, lines: &mut &[(usize, usize, usize, usi
719719            * lines = rest; 
720720
721721            let  start = i. span ( ) . start ( ) ; 
722-             assert_eq ! ( start. line,  sline,  "sline did not match for {}" ,  i) ; 
723-             assert_eq ! ( start. column,  scol,  "scol did not match for {}" ,  i) ; 
722+             assert_eq ! ( start. line( ) ,  sline,  "sline did not match for {}" ,  i) ; 
723+             assert_eq ! ( start. column( ) ,  scol,  "scol did not match for {}" ,  i) ; 
724724
725725            let  end = i. span ( ) . end ( ) ; 
726-             assert_eq ! ( end. line,  eline,  "eline did not match for {}" ,  i) ; 
727-             assert_eq ! ( end. column,  ecol,  "ecol did not match for {}" ,  i) ; 
726+             assert_eq ! ( end. line( ) ,  eline,  "eline did not match for {}" ,  i) ; 
727+             assert_eq ! ( end. column( ) ,  ecol,  "ecol did not match for {}" ,  i) ; 
728728
729729            if  let  TokenTree :: Group ( g)  = i { 
730730                check_spans_internal ( g. stream ( ) . clone ( ) ,  lines) ; 
0 commit comments