diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-08-19 20:51:21 +0200 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-08-19 21:39:57 +0200 |
| commit | 25964b541e5671de044fd01d058a45bb92b75d1e (patch) | |
| tree | 51ba5b76e37b29ea924784fdebe429d24de0ce1e /tests/ui/error-codes | |
| parent | 0f442e265c165c0a78633bef98de18517815150c (diff) | |
| download | rust-25964b541e5671de044fd01d058a45bb92b75d1e.tar.gz rust-25964b541e5671de044fd01d058a45bb92b75d1e.zip | |
Reword the "unreachable pattern" explanations
Diffstat (limited to 'tests/ui/error-codes')
| -rw-r--r-- | tests/ui/error-codes/E0001.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/error-codes/E0001.stderr b/tests/ui/error-codes/E0001.stderr index 40008230ec8..30d0df960f3 100644 --- a/tests/ui/error-codes/E0001.stderr +++ b/tests/ui/error-codes/E0001.stderr @@ -2,9 +2,9 @@ error: unreachable pattern --> $DIR/E0001.rs:8:9 | LL | _ => {/* ... */} - | ^ unreachable pattern + | ^ no value can reach this | -note: these patterns collectively make the last one unreachable +note: multiple earlier patterns match some of the same values --> $DIR/E0001.rs:8:9 | LL | Some(_) => {/* ... */} |
