Skip to content

Commit 762c4cf

Browse files
authored
Merge pull request #229 from LingMan/cli_help
cli: Remove duplicated output of RegressOn variant names from the help
2 parents eba3f0f + 4f96c3d commit 762c4cf

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

src/main.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,27 +326,27 @@ enum RegressOn {
326326
/// case for when you want to bisect to see when a bug was fixed.
327327
Success,
328328

329-
/// `Ice`: Marks test outcome as `Regressed` if and only if the `rustc`
329+
/// Marks test outcome as `Regressed` if and only if the `rustc`
330330
/// process issues a diagnostic indicating that an internal compiler error
331331
/// (ICE) occurred. This covers the use case for when you want to bisect to
332332
/// see when an ICE was introduced pon a codebase that is meant to produce
333333
/// a clean error.
334334
Ice,
335335

336-
/// `NonIce`: Marks test outcome as `Regressed` if and only if the `rustc`
336+
/// Marks test outcome as `Regressed` if and only if the `rustc`
337337
/// process does not issue a diagnostic indicating that an internal
338338
/// compiler error (ICE) occurred. This covers the use case for when you
339339
/// want to bisect to see when an ICE was fixed.
340340
NonIce,
341341

342-
/// `NonError`: Marks test outcome as `Baseline` if and only if the `rustc`
342+
/// Marks test outcome as `Baseline` if and only if the `rustc`
343343
/// process reports error status and does not issue any diagnostic
344344
/// indicating that an internal compiler error (ICE) occurred. This is the
345345
/// use case if the regression is a case where an ill-formed program has
346346
/// stopped being properly rejected by the compiler.
347-
/// (The main difference between this case and `Success` is the handling of
348-
/// ICE: `Success` assumes that ICE should be considered baseline;
349-
/// `NonError` assumes ICE should be considered a sign of a regression.)
347+
/// (The main difference between this case and `success` is the handling of
348+
/// ICE: `success` assumes that ICE should be considered baseline;
349+
/// `non-error` assumes ICE should be considered a sign of a regression.)
350350
NonError,
351351
}
352352

tests/cmd/help.stdout

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,22 @@ Options:
6666
program. This covers the use case for when you want to bisect to see when a bug was
6767
fixed
6868
- ice:
69-
`Ice`: Marks test outcome as `Regressed` if and only if the `rustc` process issues a
70-
diagnostic indicating that an internal compiler error (ICE) occurred. This covers the
71-
use case for when you want to bisect to see when an ICE was introduced pon a codebase
72-
that is meant to produce a clean error
69+
Marks test outcome as `Regressed` if and only if the `rustc` process issues a diagnostic
70+
indicating that an internal compiler error (ICE) occurred. This covers the use case for
71+
when you want to bisect to see when an ICE was introduced pon a codebase that is meant
72+
to produce a clean error
7373
- non-ice:
74-
`NonIce`: Marks test outcome as `Regressed` if and only if the `rustc` process does not
75-
issue a diagnostic indicating that an internal compiler error (ICE) occurred. This
76-
covers the use case for when you want to bisect to see when an ICE was fixed
74+
Marks test outcome as `Regressed` if and only if the `rustc` process does not issue a
75+
diagnostic indicating that an internal compiler error (ICE) occurred. This covers the
76+
use case for when you want to bisect to see when an ICE was fixed
7777
- non-error:
78-
`NonError`: Marks test outcome as `Baseline` if and only if the `rustc` process reports
79-
error status and does not issue any diagnostic indicating that an internal compiler
80-
error (ICE) occurred. This is the use case if the regression is a case where an
81-
ill-formed program has stopped being properly rejected by the compiler. (The main
82-
difference between this case and `Success` is the handling of ICE: `Success` assumes
83-
that ICE should be considered baseline; `NonError` assumes ICE should be considered a
84-
sign of a regression.)
78+
Marks test outcome as `Baseline` if and only if the `rustc` process reports error status
79+
and does not issue any diagnostic indicating that an internal compiler error (ICE)
80+
occurred. This is the use case if the regression is a case where an ill-formed program
81+
has stopped being properly rejected by the compiler. (The main difference between this
82+
case and `success` is the handling of ICE: `success` assumes that ICE should be
83+
considered baseline; `non-error` assumes ICE should be considered a sign of a
84+
regression.)
8585

8686
--script <SCRIPT>
8787
Script replacement for `cargo build` command

0 commit comments

Comments
 (0)