@@ -5,27 +5,27 @@ use core::panic::Location;
55
66#[ test]
77fn location_const_caller ( ) {
8- const _CALLER_REFERENCE: & Location < ' static > = Location :: caller ( ) ;
9- const _CALLER: Location < ' static > = * Location :: caller ( ) ;
8+ const _CALLER_REFERENCE: & Location < ' static > = Location :: caller ( ) ;
9+ const _CALLER: Location < ' static > = * Location :: caller ( ) ;
1010}
1111
1212#[ test]
1313fn location_const_file ( ) {
14- const CALLER : & Location < ' static > = Location :: caller ( ) ;
15- const FILE : & str = CALLER . file ( ) ;
16- assert_eq ! ( FILE , "library/core/tests/panic/location.rs" ) ;
14+ const CALLER : & Location < ' static > = Location :: caller ( ) ;
15+ const FILE : & str = CALLER . file ( ) ;
16+ assert_eq ! ( FILE , "library/core/tests/panic/location.rs" ) ;
1717}
1818
1919#[ test]
2020fn location_const_line ( ) {
21- const CALLER : & Location < ' static > = Location :: caller ( ) ;
22- const LINE : u32 = CALLER . line ( ) ;
23- assert_eq ! ( LINE , 21 ) ;
21+ const CALLER : & Location < ' static > = Location :: caller ( ) ;
22+ const LINE : u32 = CALLER . line ( ) ;
23+ assert_eq ! ( LINE , 21 ) ;
2424}
2525
2626#[ test]
2727fn location_const_column ( ) {
28- const CALLER : & Location < ' static > = Location :: caller ( ) ;
29- const COLUMN : u32 = CALLER . column ( ) ;
30- assert_eq ! ( COLUMN , 39 ) ;
28+ const CALLER : & Location < ' static > = Location :: caller ( ) ;
29+ const COLUMN : u32 = CALLER . column ( ) ;
30+ assert_eq ! ( COLUMN , 40 ) ;
3131}
0 commit comments