about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTyler Bindon <martica@martica.org>2013-01-25 12:27:29 -0700
committerTyler Bindon <martica@martica.org>2013-01-25 19:42:23 -0700
commit7ff7489dc62bdcc0dbd507c52cba90d47cfdd129 (patch)
tree7a5dc806e12a3ad7dd1e480645f2bd0400de1ec4 /src
parent198b513fc075f0d723ea54046b3b252710b3aaea (diff)
Fix Option camel case in error message
Diffstat (limited to 'src')
-rw-r--r--src/librustc/middle/typeck/check/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/typeck/check/mod.rs b/src/librustc/middle/typeck/check/mod.rs
index e1a549bcc7b..43f609dd2f0 100644
--- a/src/librustc/middle/typeck/check/mod.rs
+++ b/src/librustc/middle/typeck/check/mod.rs
@@ -2696,7 +2696,7 @@ fn check_instantiable(tcx: ty::ctxt,
     if !ty::is_instantiable(tcx, item_ty) {
         tcx.sess.span_err(sp, fmt!("this type cannot be instantiated \
                   without an instance of itself; \
-                  consider using `option<%s>`",
+                  consider using `Option<%s>`",
                                    ppaux::ty_to_str(tcx, item_ty)));
     }
 }