about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorCobrand <cobrandw@gmail.com>2016-08-30 00:33:29 +0200
committerCobrand <cobrandw@gmail.com>2016-09-05 19:28:52 +0200
commite8c5dc48063f5290af195f66ae718f78cd6cee9e (patch)
treef53499750d49115c49ce980ec450031e07568d49 /src/test/compile-fail
parent58dc448f8c29d0262f2cde76a9d21343921b23fd (diff)
downloadrust-e8c5dc48063f5290af195f66ae718f78cd6cee9e.tar.gz
rust-e8c5dc48063f5290af195f66ae718f78cd6cee9e.zip
Updated E0527 to new error format
* Closes #36113
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/E0527.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0527.rs b/src/test/compile-fail/E0527.rs
index f03f35a5710..0b664094a40 100644
--- a/src/test/compile-fail/E0527.rs
+++ b/src/test/compile-fail/E0527.rs
@@ -13,7 +13,9 @@
 fn main() {
     let r = &[1, 2, 3, 4];
     match r {
-        &[a, b] => { //~ ERROR E0527
+        &[a, b] => {
+            //~^ ERROR E0527
+            //~| NOTE expected 4 elements
             println!("a={}, b={}", a, b);
         }
     }