about summary refs log tree commit diff
path: root/src/librustc/diagnostics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc/diagnostics.rs')
-rw-r--r--src/librustc/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs
index 51c453c784e..4abb1c8b98a 100644
--- a/src/librustc/diagnostics.rs
+++ b/src/librustc/diagnostics.rs
@@ -1006,7 +1006,7 @@ fn some_func<T: Foo>(foo: T) {
 fn main() {
     // we now call the method with the i32 type, which doesn't implement
     // the Foo trait
-    some_func(5i32); // error: the predicate `i32 : Foo` is not satisfied
+    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied
 }
 ```