@@ -8,8 +8,8 @@ use rustc_session::config::{
88 ErrorOutputType , ExternEntry , ExternLocation , Externs , FunctionReturn , InliningThreshold ,
99 Input , InstrumentCoverage , InstrumentXRay , LinkSelfContained , LinkerPluginLto , LocationDetail ,
1010 LtoCli , NextSolverConfig , OomStrategy , Options , OutFileName , OutputType , OutputTypes , PAuthKey ,
11- PacRet , Passes , Polonius , ProcMacroExecutionStrategy , Strip , SwitchWithOptPath ,
12- SymbolManglingVersion , WasiExecModel ,
11+ PacRet , Passes , PatchableFunctionEntry , Polonius , ProcMacroExecutionStrategy , Strip ,
12+ SwitchWithOptPath , SymbolManglingVersion , WasiExecModel ,
1313} ;
1414use rustc_session:: lint:: Level ;
1515use rustc_session:: search_paths:: SearchPath ;
@@ -815,7 +815,10 @@ fn test_unstable_options_tracking_hash() {
815815 tracked ! ( packed_bundled_libs, true ) ;
816816 tracked ! ( panic_abort_tests, true ) ;
817817 tracked ! ( panic_in_drop, PanicStrategy :: Abort ) ;
818- tracked ! ( patchable_function_entry, PatchableFunctionEntry :: from_nop_count_and_offset( 3 , 4 ) ) ;
818+ tracked ! (
819+ patchable_function_entry,
820+ PatchableFunctionEntry :: from_total_and_prefix_nops( 10 , 5 ) . expect( "total >= prefix" )
821+ ) ;
819822 tracked ! ( plt, Some ( true ) ) ;
820823 tracked ! ( polonius, Polonius :: Legacy ) ;
821824 tracked ! ( precise_enum_drop_elaboration, false ) ;
0 commit comments