about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-09-10 13:22:19 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-10 13:22:19 -0700
commitf647db4c8a8e6e49aac60e973044b6556af5a3ad (patch)
tree32f8292af75da0ddcd6bbbbecc135d93f2e19143 /src/test
parenta5f4cc527de4230359c81799852f6bc770eba0e6 (diff)
downloadrust-f647db4c8a8e6e49aac60e973044b6556af5a3ad.tar.gz
rust-f647db4c8a8e6e49aac60e973044b6556af5a3ad.zip
Update E0297 to new error format
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/E0297.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0297.rs b/src/test/compile-fail/E0297.rs
index 43166c1a9e8..32c129b22a1 100644
--- a/src/test/compile-fail/E0297.rs
+++ b/src/test/compile-fail/E0297.rs
@@ -11,5 +11,7 @@
 fn main() {
     let xs : Vec<Option<i32>> = vec!(Some(1), None);
 
-    for Some(x) in xs {} //~ ERROR E0297
+    for Some(x) in xs {}
+    //~^ ERROR E0297
+    //~| NOTE pattern `None` not covered
 }