Fix Option camel case in error message

This commit is contained in:
Tyler Bindon 2013-01-25 12:27:29 -07:00
parent 198b513fc0
commit 7ff7489dc6
1 changed files with 1 additions and 1 deletions

View File

@ -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)));
}
}