diff options
| author | Florian Schmiderer <florian.schmiderer@posteo.net> | 2024-06-26 19:11:25 +0200 |
|---|---|---|
| committer | Florian Schmiderer <florian.schmiderer@posteo.net> | 2024-06-27 22:24:36 +0200 |
| commit | 8d246b01020edc47c966bc62d9d607c9f480fb07 (patch) | |
| tree | 807c5f1f95d3fe2b7a564a30dc313d90107aebeb /compiler/rustc_interface/src/tests.rs | |
| parent | 7c56398e912ea9e81d8e56b2ca7459b4e62b6636 (diff) | |
| download | rust-8d246b01020edc47c966bc62d9d607c9f480fb07.tar.gz rust-8d246b01020edc47c966bc62d9d607c9f480fb07.zip | |
Updated diagnostic messages
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index e23d556ad46..02322c9b282 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -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); |
