1
Fork 0

Updated diagnostic messages

This commit is contained in:
Florian Schmiderer 2024-06-26 19:11:25 +02:00
parent 7c56398e91
commit 8d246b0102
4 changed files with 49 additions and 28 deletions

View file

@ -815,7 +815,8 @@ fn test_unstable_options_tracking_hash() {
tracked!(panic_in_drop, PanicStrategy::Abort);
tracked!(
patchable_function_entry,
PatchableFunctionEntry::from_total_and_prefix_nops(10, 5).expect("total >= prefix")
PatchableFunctionEntry::from_total_and_prefix_nops(10, 5)
.expect("total must be greater than or equal to prefix")
);
tracked!(plt, Some(true));
tracked!(polonius, Polonius::Legacy);