about summary refs log tree commit diff
path: root/src/test/parse-fail/trait-bounds-not-on-impl.rs
diff options
context:
space:
mode:
authorFlavio Percoco <flaper87@gmail.com>2015-02-21 11:49:15 +0100
committerFlavio Percoco <flaper87@gmail.com>2015-02-22 02:14:27 +0100
commit038d7e69e8861bd038e3dbd91adf078f72b6c887 (patch)
treef0ae9fbd0357e88116f8136d8fb955151201cacc /src/test/parse-fail/trait-bounds-not-on-impl.rs
parent753db889149db712598ff2a1ee34885d7b9680cc (diff)
downloadrust-038d7e69e8861bd038e3dbd91adf078f72b6c887.tar.gz
rust-038d7e69e8861bd038e3dbd91adf078f72b6c887.zip
Fix test fallouts
Diffstat (limited to 'src/test/parse-fail/trait-bounds-not-on-impl.rs')
-rw-r--r--src/test/parse-fail/trait-bounds-not-on-impl.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/parse-fail/trait-bounds-not-on-impl.rs b/src/test/parse-fail/trait-bounds-not-on-impl.rs
index a034352c4a6..51447b22576 100644
--- a/src/test/parse-fail/trait-bounds-not-on-impl.rs
+++ b/src/test/parse-fail/trait-bounds-not-on-impl.rs
@@ -13,7 +13,9 @@ trait Foo {
 
 struct Bar;
 
-impl Foo + Owned for Bar { //~ ERROR not a trait
+impl Foo + Owned for Bar {
+//~^ ERROR not a trait
+//~^^ ERROR expected one of `..`, `where`, or `{`, found `Bar`
 }
 
 fn main() { }