about summary refs log tree commit diff
path: root/src/test/compile-fail/trait-bounds-not-on-bare-trait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/trait-bounds-not-on-bare-trait.rs')
-rw-r--r--src/test/compile-fail/trait-bounds-not-on-bare-trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/trait-bounds-not-on-bare-trait.rs b/src/test/compile-fail/trait-bounds-not-on-bare-trait.rs
index f0f388a5a07..78b4ab817bf 100644
--- a/src/test/compile-fail/trait-bounds-not-on-bare-trait.rs
+++ b/src/test/compile-fail/trait-bounds-not-on-bare-trait.rs
@@ -14,7 +14,7 @@ trait Foo {
 // This should emit the less confusing error, not the more confusing one.
 
 fn foo(_x: Foo + Send) {
-    //~^ERROR reference to trait `Foo` where a type is expected; try `Box<Foo>` or `&Foo`
+    //~^ERROR variable `_x` has dynamically sized type `Foo+Send`
 }
 
 fn main() { }