about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-08-08 13:25:58 -0700
committerGitHub <noreply@github.com>2016-08-08 13:25:58 -0700
commit0e4e8e9544c986fe0e738e381f007714bf193ba5 (patch)
tree374973fb36384cd841f3c4df2a891e8bd1d9ae61 /src/test/compile-fail
parent3d2d5c4c0f99bf1ac9bd06d878152387195a434e (diff)
parentf07f09352222c16f11cfd49aab4f83706ea3549e (diff)
Rollup merge of #35470 - munyari:e0214, r=jonathandturner
Update E0214 to the new error format

Part of #35233

Addresses #35383
"r? @jonathandturner
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
 }