about summary refs log tree commit diff
path: root/src/test/compile-fail/unboxed-closures-static-call-wrong-trait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/unboxed-closures-static-call-wrong-trait.rs')
-rw-r--r--src/test/compile-fail/unboxed-closures-static-call-wrong-trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/unboxed-closures-static-call-wrong-trait.rs b/src/test/compile-fail/unboxed-closures-static-call-wrong-trait.rs
index 4fa72b38306..ddd2649a3fe 100644
--- a/src/test/compile-fail/unboxed-closures-static-call-wrong-trait.rs
+++ b/src/test/compile-fail/unboxed-closures-static-call-wrong-trait.rs
@@ -12,6 +12,6 @@
 
 fn main() {
     let mut_ = |&mut: x| x;
-    mut_.call((0i, )); //~ ERROR type `closure` does not implement
+    mut_.call((0i, )); //~ ERROR does not implement any method in scope named `call`
 }