about summary refs log tree commit diff
path: root/src/test/compile-fail/box-static-bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/box-static-bound.rs')
-rw-r--r--src/test/compile-fail/box-static-bound.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/box-static-bound.rs b/src/test/compile-fail/box-static-bound.rs
index 8a5ea61537e..160f73f4a58 100644
--- a/src/test/compile-fail/box-static-bound.rs
+++ b/src/test/compile-fail/box-static-bound.rs
@@ -1,7 +1,7 @@
 #[feature(managed_boxes)];
 
 fn f<T>(x: T) -> @T {
-    @x  //~ ERROR value may contain borrowed pointers
+    @x  //~ ERROR value may contain references
 }
 
 fn g<T:'static>(x: T) -> @T {