@@ -331,10 +331,10 @@ fn literal_span() {
331331
332332    #[ cfg( span_locations) ]  
333333    { 
334-         assert_eq ! ( positive. span( ) . start( ) . column,  0 ) ; 
335-         assert_eq ! ( positive. span( ) . end( ) . column,  3 ) ; 
336-         assert_eq ! ( negative. span( ) . start( ) . column,  0 ) ; 
337-         assert_eq ! ( negative. span( ) . end( ) . column,  4 ) ; 
334+         assert_eq ! ( positive. span( ) . start( ) . column( ) ,  0 ) ; 
335+         assert_eq ! ( positive. span( ) . end( ) . column( ) ,  3 ) ; 
336+         assert_eq ! ( negative. span( ) . start( ) . column( ) ,  0 ) ; 
337+         assert_eq ! ( negative. span( ) . end( ) . column( ) ,  4 ) ; 
338338        assert_eq ! ( subspan. unwrap( ) . source_text( ) . unwrap( ) ,  "." ) ; 
339339    } 
340340
@@ -432,11 +432,11 @@ testing 123
432432#[ test]  
433433fn  default_span ( )  { 
434434    let  start = Span :: call_site ( ) . start ( ) ; 
435-     assert_eq ! ( start. line,  1 ) ; 
436-     assert_eq ! ( start. column,  0 ) ; 
435+     assert_eq ! ( start. line( ) ,  1 ) ; 
436+     assert_eq ! ( start. column( ) ,  0 ) ; 
437437    let  end = Span :: call_site ( ) . end ( ) ; 
438-     assert_eq ! ( end. line,  1 ) ; 
439-     assert_eq ! ( end. column,  0 ) ; 
438+     assert_eq ! ( end. line( ) ,  1 ) ; 
439+     assert_eq ! ( end. column( ) ,  0 ) ; 
440440    let  source_file = Span :: call_site ( ) . source_file ( ) ; 
441441    assert_eq ! ( source_file. path( ) . to_string_lossy( ) ,  "<unspecified>" ) ; 
442442    assert ! ( !source_file. is_real( ) ) ; 
@@ -469,10 +469,10 @@ fn span_join() {
469469
470470    let  start = joined1. unwrap ( ) . start ( ) ; 
471471    let  end = joined1. unwrap ( ) . end ( ) ; 
472-     assert_eq ! ( start. line,  1 ) ; 
473-     assert_eq ! ( start. column,  0 ) ; 
474-     assert_eq ! ( end. line,  2 ) ; 
475-     assert_eq ! ( end. column,  3 ) ; 
472+     assert_eq ! ( start. line( ) ,  1 ) ; 
473+     assert_eq ! ( start. column( ) ,  0 ) ; 
474+     assert_eq ! ( end. line( ) ,  2 ) ; 
475+     assert_eq ! ( end. column( ) ,  3 ) ; 
476476
477477    assert_eq ! ( 
478478        joined1. unwrap( ) . source_file( ) , 
@@ -717,12 +717,12 @@ fn check_spans_internal(ts: TokenStream, lines: &mut &[(usize, usize, usize, usi
717717            * lines = rest; 
718718
719719            let  start = i. span ( ) . start ( ) ; 
720-             assert_eq ! ( start. line,  sline,  "sline did not match for {}" ,  i) ; 
721-             assert_eq ! ( start. column,  scol,  "scol did not match for {}" ,  i) ; 
720+             assert_eq ! ( start. line( ) ,  sline,  "sline did not match for {}" ,  i) ; 
721+             assert_eq ! ( start. column( ) ,  scol,  "scol did not match for {}" ,  i) ; 
722722
723723            let  end = i. span ( ) . end ( ) ; 
724-             assert_eq ! ( end. line,  eline,  "eline did not match for {}" ,  i) ; 
725-             assert_eq ! ( end. column,  ecol,  "ecol did not match for {}" ,  i) ; 
724+             assert_eq ! ( end. line( ) ,  eline,  "eline did not match for {}" ,  i) ; 
725+             assert_eq ! ( end. column( ) ,  ecol,  "ecol did not match for {}" ,  i) ; 
726726
727727            if  let  TokenTree :: Group ( g)  = i { 
728728                check_spans_internal ( g. stream ( ) . clone ( ) ,  lines) ; 
0 commit comments