We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 198b513 commit 7ff7489Copy full SHA for 7ff7489
src/librustc/middle/typeck/check/mod.rs
@@ -2696,7 +2696,7 @@ fn check_instantiable(tcx: ty::ctxt,
2696
if !ty::is_instantiable(tcx, item_ty) {
2697
tcx.sess.span_err(sp, fmt!("this type cannot be instantiated \
2698
without an instance of itself; \
2699
- consider using `option<%s>`",
+ consider using `Option<%s>`",
2700
ppaux::ty_to_str(tcx, item_ty)));
2701
}
2702
0 commit comments