about summary refs log tree commit diff
path: root/src/test/compile-fail/where-clause-constraints-are-local-for-inherent-impl.rs
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2016-03-31 21:42:23 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2016-04-05 20:58:58 +0300
commit728d20f7cc84a67ea85aaa1257234b4750bdcc1c (patch)
tree5a2fbad3b9c8fed24336e0816004dc7895845d8f /src/test/compile-fail/where-clause-constraints-are-local-for-inherent-impl.rs
parent8a461d940cc6019bd332b1ea732d79d3216d9108 (diff)
downloadrust-728d20f7cc84a67ea85aaa1257234b4750bdcc1c.tar.gz
rust-728d20f7cc84a67ea85aaa1257234b4750bdcc1c.zip
improve error message
Diffstat (limited to 'src/test/compile-fail/where-clause-constraints-are-local-for-inherent-impl.rs')
-rw-r--r--src/test/compile-fail/where-clause-constraints-are-local-for-inherent-impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/where-clause-constraints-are-local-for-inherent-impl.rs b/src/test/compile-fail/where-clause-constraints-are-local-for-inherent-impl.rs
index 42e9fa2614c..4b85f2275a7 100644
--- a/src/test/compile-fail/where-clause-constraints-are-local-for-inherent-impl.rs
+++ b/src/test/compile-fail/where-clause-constraints-are-local-for-inherent-impl.rs
@@ -21,7 +21,7 @@ impl<T> Foo<T> {
 
     fn fails_copy(self) {
         require_copy(self.x);
-        //~^ ERROR the predicate `T : std::marker::Copy` is not satisfied
+        //~^ ERROR the trait bound `T : std::marker::Copy` is not satisfied
     }
 }