@@ -11,7 +11,7 @@ mod common;
1111fn read_ppc ( ) {
1212 let diff_config = diff:: DiffObjConfig :: default ( ) ;
1313 let obj =
14- obj:: read:: parse ( include_object ! ( "data/ppc/IObj.o" ) , & diff_config, obj :: DiffSide :: Base )
14+ obj:: read:: parse ( include_object ! ( "data/ppc/IObj.o" ) , & diff_config, diff :: DiffSide :: Base )
1515 . unwrap ( ) ;
1616 insta:: assert_debug_snapshot!( obj) ;
1717 let symbol_idx =
@@ -29,7 +29,7 @@ fn read_dwarf1_line_info() {
2929 let obj = obj:: read:: parse (
3030 include_object ! ( "data/ppc/m_Do_hostIO.o" ) ,
3131 & diff_config,
32- obj :: DiffSide :: Base ,
32+ diff :: DiffSide :: Base ,
3333 )
3434 . unwrap ( ) ;
3535 let line_infos = obj
@@ -48,7 +48,7 @@ fn read_extab() {
4848 let obj = obj:: read:: parse (
4949 include_object ! ( "data/ppc/NMWException.o" ) ,
5050 & diff_config,
51- obj :: DiffSide :: Base ,
51+ diff :: DiffSide :: Base ,
5252 )
5353 . unwrap ( ) ;
5454 insta:: assert_debug_snapshot!( obj) ;
@@ -62,13 +62,13 @@ fn diff_ppc() {
6262 let target_obj = obj:: read:: parse (
6363 include_object ! ( "data/ppc/CDamageVulnerability_target.o" ) ,
6464 & diff_config,
65- obj :: DiffSide :: Target ,
65+ diff :: DiffSide :: Target ,
6666 )
6767 . unwrap ( ) ;
6868 let base_obj = obj:: read:: parse (
6969 include_object ! ( "data/ppc/CDamageVulnerability_base.o" ) ,
7070 & diff_config,
71- obj :: DiffSide :: Base ,
71+ diff :: DiffSide :: Base ,
7272 )
7373 . unwrap ( ) ;
7474 let diff =
@@ -108,9 +108,12 @@ fn diff_ppc() {
108108#[ cfg( feature = "ppc" ) ]
109109fn read_vmx128_coff ( ) {
110110 let diff_config = diff:: DiffObjConfig { combine_data_sections : true , ..Default :: default ( ) } ;
111- let obj =
112- obj:: read:: parse ( include_object ! ( "data/ppc/vmx128.obj" ) , & diff_config, obj:: DiffSide :: Base )
113- . unwrap ( ) ;
111+ let obj = obj:: read:: parse (
112+ include_object ! ( "data/ppc/vmx128.obj" ) ,
113+ & diff_config,
114+ diff:: DiffSide :: Base ,
115+ )
116+ . unwrap ( ) ;
114117 insta:: assert_debug_snapshot!( obj) ;
115118 let symbol_idx =
116119 obj. symbols . iter ( ) . position ( |s| s. name == "?FloatingPointExample@@YAXXZ" ) . unwrap ( ) ;
0 commit comments