-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Make "all possible cases" help message uniform with existing help messages #55664
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
r? @zackmdavis (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup |
📌 Commit a34b19cd39f70608c4e6056bee55086f2a6217d1 has been approved by |
@@ -238,8 +238,8 @@ impl<'a, 'tcx> MatchVisitor<'a, 'tcx> { | |||
is non-empty", | |||
pat_ty)); | |||
span_help!(&mut err, scrut.span, | |||
"Please ensure that all possible cases are being handled; \ | |||
possibly adding wildcards or more match arms."); | |||
"ensure that all possible cases are being handled; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"ensure that all possible cases are being handled; \ | |
"ensure that all possible cases are being handled, \ |
Actually, while we're here, could we also change this semicolon to a comma? The "possibly by adding" isn't an independent clause.
@bors r- |
…sages Specifically no capitalisation or trailing full stops.
a34b19c
to
8277ba2
Compare
@bors r=zackmdavis rollup |
📌 Commit 8277ba2 has been approved by |
…r=zackmdavis Make "all possible cases" help message uniform with existing help messages Specifically no capitalisation or trailing full stops.
Rollup of 11 pull requests Successful merges: - #55490 (resolve: Fix ICE in macro import error recovery) - #55597 (std: Enable usage of `thread_local!` through imports) - #55601 (Fix tracking issue numbers for some unstable features) - #55621 (Add precision for create_dir function) - #55644 (ci: Add Dockerfile for dist-powerpcspe-linux) - #55664 (Make "all possible cases" help message uniform with existing help messages) - #55689 (miri: binary_op_val -> binary_op_imm) - #55694 (Fixes #31076) - #55696 (NLL Diagnostic Review 3: Missing errors for borrows of union fields) - #55700 (Update ui tests with respect to NLL) - #55703 (Update `configure --help` (via configure.py) to reflect decoupling of debug+optimize)
Specifically no capitalisation or trailing full stops.