diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-05-30 13:16:07 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-05-30 13:16:07 +1000 |
| commit | c671eaaaffcd4204573d96cb6085863bb83dcfbe (patch) | |
| tree | ce1ef504f7307f99f0a2a893199fe7b23c92ccbd /compiler/rustc_mir_build/src/errors.rs | |
| parent | 23ea77b8edc902f4a90cda62af66f8b300e5de54 (diff) | |
| download | rust-c671eaaaffcd4204573d96cb6085863bb83dcfbe.tar.gz rust-c671eaaaffcd4204573d96cb6085863bb83dcfbe.zip | |
coverage: Rename MC/DC `conditions_num` to `num_conditions`
This value represents a quantity of conditions, not an ID, so the new spelling is more appropriate.
Diffstat (limited to 'compiler/rustc_mir_build/src/errors.rs')
| -rw-r--r-- | compiler/rustc_mir_build/src/errors.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_mir_build/src/errors.rs b/compiler/rustc_mir_build/src/errors.rs index ae6e126a4e2..19616cc0a1e 100644 --- a/compiler/rustc_mir_build/src/errors.rs +++ b/compiler/rustc_mir_build/src/errors.rs @@ -812,12 +812,12 @@ pub struct NonEmptyNeverPattern<'tcx> { } #[derive(Diagnostic)] -#[diag(mir_build_exceeds_mcdc_condition_num_limit)] -pub(crate) struct MCDCExceedsConditionNumLimit { +#[diag(mir_build_exceeds_mcdc_condition_limit)] +pub(crate) struct MCDCExceedsConditionLimit { #[primary_span] pub span: Span, - pub conditions_num: usize, - pub max_conditions_num: usize, + pub num_conditions: usize, + pub max_conditions: usize, } #[derive(Diagnostic)] |
