@@ -8,8 +8,8 @@ use rustc_session::config::{
8
8
ErrorOutputType , ExternEntry , ExternLocation , Externs , FunctionReturn , InliningThreshold ,
9
9
Input , InstrumentCoverage , InstrumentXRay , LinkSelfContained , LinkerPluginLto , LocationDetail ,
10
10
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 ,
13
13
} ;
14
14
use rustc_session:: lint:: Level ;
15
15
use rustc_session:: search_paths:: SearchPath ;
@@ -815,7 +815,10 @@ fn test_unstable_options_tracking_hash() {
815
815
tracked ! ( packed_bundled_libs, true ) ;
816
816
tracked ! ( panic_abort_tests, true ) ;
817
817
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
+ ) ;
819
822
tracked ! ( plt, Some ( true ) ) ;
820
823
tracked ! ( polonius, Polonius :: Legacy ) ;
821
824
tracked ! ( precise_enum_drop_elaboration, false ) ;
0 commit comments