diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-21 18:20:45 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-21 19:00:18 -0400 |
| commit | ffd72b1700a6c96b2468e9259fdb4beea11717e0 (patch) | |
| tree | 781817f15b995c9695a5d9f0f7cb36a242254239 /tests/ui/instrument-coverage/mcdc-condition-limit.rs | |
| parent | ea681ef2814b321177d1eee437b8867d31141754 (diff) | |
| download | rust-ffd72b1700a6c96b2468e9259fdb4beea11717e0.tar.gz rust-ffd72b1700a6c96b2468e9259fdb4beea11717e0.zip | |
Fix remaining cases
Diffstat (limited to 'tests/ui/instrument-coverage/mcdc-condition-limit.rs')
| -rw-r--r-- | tests/ui/instrument-coverage/mcdc-condition-limit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/instrument-coverage/mcdc-condition-limit.rs b/tests/ui/instrument-coverage/mcdc-condition-limit.rs index de3770b5709..eb19ddec78f 100644 --- a/tests/ui/instrument-coverage/mcdc-condition-limit.rs +++ b/tests/ui/instrument-coverage/mcdc-condition-limit.rs @@ -26,7 +26,7 @@ fn main() { fn main() { // 7 conditions is too many, so issue a diagnostic. let [a, b, c, d, e, f, g] = <[bool; 7]>::default(); - if a && b && c && d && e && f && g { //[bad]~ WARNING Number of conditions in decision + if a && b && c && d && e && f && g { //[bad]~ WARNING number of conditions in decision core::hint::black_box("hello"); } } |
