about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-31 19:19:36 +0100
committerGitHub <noreply@github.com>2019-12-31 19:19:36 +0100
commit50fb8480dbe65b14b48502c937eea66c4b5a6c31 (patch)
treed05faa6e61945514bcf1b774018015ab56479808 /src/test/ui/error-codes
parentbc5963d2eb1f64b32dd82014cbc8c6082e463322 (diff)
parent63dc0e41dbf6d939741238a7c71bf5a63ae3ce55 (diff)
downloadrust-50fb8480dbe65b14b48502c937eea66c4b5a6c31.tar.gz
rust-50fb8480dbe65b14b48502c937eea66c4b5a6c31.zip
Rollup merge of #67730 - Centril:typeck-pat-cleanup, r=estebank
Cleanup pattern type checking, fix diagnostics bugs (+ improvements)

r? @estebank
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0308-4.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0308-4.stderr b/src/test/ui/error-codes/E0308-4.stderr
index 46805d6e13b..39c06763737 100644
--- a/src/test/ui/error-codes/E0308-4.stderr
+++ b/src/test/ui/error-codes/E0308-4.stderr
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/E0308-4.rs:4:15
    |
 LL |     match x {
-   |           - this match expression has type `u8`
+   |           - this expression has type `u8`
 LL |         0u8..=3i8 => (),
    |         ---   ^^^ expected `u8`, found `i8`
    |         |