about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorsaml <skynare@gmail.com>2016-08-04 11:22:02 -0400
committersaml <skynare@gmail.com>2016-08-04 11:22:02 -0400
commit034e6594112114897b243cb2cc2944c91c28d529 (patch)
treef4cce9533217c8dd3c2a4300ba2ec821e2e3d1d8 /src/test
parenteeda69fcca2c554bd60072476292b37fccb01a61 (diff)
downloadrust-034e6594112114897b243cb2cc2944c91c28d529.tar.gz
rust-034e6594112114897b243cb2cc2944c91c28d529.zip
Changing label to "this is an..."
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/issue-31221.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/compile-fail/issue-31221.rs b/src/test/compile-fail/issue-31221.rs
index 85eac907105..4997a6fee19 100644
--- a/src/test/compile-fail/issue-31221.rs
+++ b/src/test/compile-fail/issue-31221.rs
@@ -22,7 +22,7 @@ fn main() {
         //~^ NOTE this pattern matches any value
         Var2 => (),
         //~^ ERROR unreachable pattern
-        //~^^ NOTE this is unreachable pattern
+        //~^^ NOTE this is an unreachable pattern
     };
     match &s {
         &Var1 => (),
@@ -30,7 +30,7 @@ fn main() {
         //~^ NOTE this pattern matches any value
         &Var2 => (),
         //~^ ERROR unreachable pattern
-        //~^^ NOTE this is unreachable pattern
+        //~^^ NOTE this is an unreachable pattern
     };
     let t = (Var1, Var1);
     match t {
@@ -39,7 +39,7 @@ fn main() {
         //~^ NOTE this pattern matches any value
         anything => ()
         //~^ ERROR unreachable pattern
-        //~^^ NOTE this is unreachable pattern
+        //~^^ NOTE this is an unreachable pattern
     };
     // `_` need not emit a note, it is pretty obvious already.
     let t = (Var1, Var1);
@@ -48,6 +48,6 @@ fn main() {
         _ => (),
         anything => ()
         //~^ ERROR unreachable pattern
-        //~^^ NOTE this is unreachable pattern
+        //~^^ NOTE this is an unreachable pattern
     };
 }