about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorPanashe M. Fundira <fundirap@gmail.com>2016-08-07 13:21:23 -0400
committerPanashe M. Fundira <fundirap@gmail.com>2016-08-07 13:21:23 -0400
commitf07f09352222c16f11cfd49aab4f83706ea3549e (patch)
treeae36ea668d4b0f193fbf4a88d71b75c4cc222442 /src/test/compile-fail
parentf5e7a5910d4f1dfa72724f6ee8125a6eade1665b (diff)
downloadrust-f07f09352222c16f11cfd49aab4f83706ea3549e.tar.gz
rust-f07f09352222c16f11cfd49aab4f83706ea3549e.zip
Update E0214 to the new error format
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/E0214.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0214.rs b/src/test/compile-fail/E0214.rs
index 59609345ee5..e9c3cb72c11 100644
--- a/src/test/compile-fail/E0214.rs
+++ b/src/test/compile-fail/E0214.rs
@@ -9,5 +9,7 @@
 // except according to those terms.
 
 fn main() {
-    let v: Vec(&str) = vec!["foo"]; //~ ERROR E0214
+    let v: Vec(&str) = vec!["foo"];
+    //~^ ERROR E0214
+    //~| NOTE only traits may use parentheses
 }