summary refs log tree commit diff
path: root/src/test/ui/consts/const-pattern-irrefutable.stderr
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-11-30 13:53:15 +0000
committervarkor <github@varkor.com>2018-11-30 13:53:15 +0000
commit4fc5758a67e38b21e975fc9efe071dd58f4b98c6 (patch)
tree87353963637bf5efa251d0209b8323594c3434b1 /src/test/ui/consts/const-pattern-irrefutable.stderr
parente018268ffad0e3d2704705cb3337b6195b5cba08 (diff)
downloadrust-4fc5758a67e38b21e975fc9efe071dd58f4b98c6.tar.gz
rust-4fc5758a67e38b21e975fc9efe071dd58f4b98c6.zip
Update existing tests with more precise error messages
Diffstat (limited to 'src/test/ui/consts/const-pattern-irrefutable.stderr')
-rw-r--r--src/test/ui/consts/const-pattern-irrefutable.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/consts/const-pattern-irrefutable.stderr b/src/test/ui/consts/const-pattern-irrefutable.stderr
index 6d5738f3328..d9ad16cd0e8 100644
--- a/src/test/ui/consts/const-pattern-irrefutable.stderr
+++ b/src/test/ui/consts/const-pattern-irrefutable.stderr
@@ -1,19 +1,19 @@
-error[E0005]: refutable pattern in local binding: `_` not covered
+error[E0005]: refutable pattern in local binding: `0u8..=1u8` not covered
   --> $DIR/const-pattern-irrefutable.rs:22:9
    |
-LL |     let a = 4; //~ ERROR refutable pattern in local binding: `_` not covered
+LL |     let a = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
    |         ^ interpreted as a constant pattern, not new variable
 
-error[E0005]: refutable pattern in local binding: `_` not covered
+error[E0005]: refutable pattern in local binding: `0u8..=1u8` not covered
   --> $DIR/const-pattern-irrefutable.rs:23:9
    |
-LL |     let c = 4; //~ ERROR refutable pattern in local binding: `_` not covered
+LL |     let c = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
    |         ^ interpreted as a constant pattern, not new variable
 
-error[E0005]: refutable pattern in local binding: `_` not covered
+error[E0005]: refutable pattern in local binding: `0u8..=1u8` not covered
   --> $DIR/const-pattern-irrefutable.rs:24:9
    |
-LL |     let d = 4; //~ ERROR refutable pattern in local binding: `_` not covered
+LL |     let d = 4; //~ ERROR refutable pattern in local binding: `0u8..=1u8` not covered
    |         ^ interpreted as a constant pattern, not new variable
 
 error: aborting due to 3 previous errors