Skip to content

Commit 7ff7489

Browse files
committed
Fix Option camel case in error message
1 parent 198b513 commit 7ff7489

File tree

1 file changed

+1
-1
lines changed
  • src/librustc/middle/typeck/check

1 file changed

+1
-1
lines changed

src/librustc/middle/typeck/check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2696,7 +2696,7 @@ fn check_instantiable(tcx: ty::ctxt,
26962696
if !ty::is_instantiable(tcx, item_ty) {
26972697
tcx.sess.span_err(sp, fmt!("this type cannot be instantiated \
26982698
without an instance of itself; \
2699-
consider using `option<%s>`",
2699+
consider using `Option<%s>`",
27002700
ppaux::ty_to_str(tcx, item_ty)));
27012701
}
27022702
}

0 commit comments

Comments
 (0)