Make "all possible cases" help message uniform with existing help messages
Specifically no capitalisation or trailing full stops.
This commit is contained in:
parent
3d28ee3e34
commit
8277ba2d30
5 changed files with 8 additions and 8 deletions
|
|
@ -4,7 +4,7 @@ error[E0004]: non-exhaustive patterns: type () is non-empty
|
|||
LL | match () { } //~ ERROR non-exhaustive
|
||||
| ^^
|
||||
|
|
||||
help: Please ensure that all possible cases are being handled; possibly adding wildcards or more match arms.
|
||||
help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
||||
--> $DIR/issue-3096-1.rs:12:11
|
||||
|
|
||||
LL | match () { } //~ ERROR non-exhaustive
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ error[E0004]: non-exhaustive patterns: type *const bottom is non-empty
|
|||
LL | match x { } //~ ERROR non-exhaustive patterns
|
||||
| ^
|
||||
|
|
||||
help: Please ensure that all possible cases are being handled; possibly adding wildcards or more match arms.
|
||||
help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
||||
--> $DIR/issue-3096-2.rs:15:11
|
||||
|
|
||||
LL | match x { } //~ ERROR non-exhaustive patterns
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue