about summary refs log tree commit diff
path: root/src/librustc/middle/check_const.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc/middle/check_const.rs')
-rw-r--r--src/librustc/middle/check_const.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/check_const.rs b/src/librustc/middle/check_const.rs
index 1e373d1f82d..1ca5faf9176 100644
--- a/src/librustc/middle/check_const.rs
+++ b/src/librustc/middle/check_const.rs
@@ -192,7 +192,7 @@ pub fn check_expr(v: &mut CheckCrateVisitor,
           ExprAddrOf(..) => {
                 sess.span_err(
                     e.span,
-                    "borrowed pointers in constants may only refer to \
+                    "references in constants may only refer to \
                      immutable values");
           },
           ExprVstore(_, ExprVstoreUniq) |