1
Fork 0

Typos in a comment and an error message

This commit is contained in:
Tim Chevalier 2012-06-25 22:10:14 -07:00
parent bacf9e9887
commit d513d9893e

View file

@ -216,7 +216,7 @@ fn ast_ty_to_ty<AC: ast_conv, RS: region_scope copy>(
some(ty::atttce_resolved(ty)) { ret ty; }
some(ty::atttce_unresolved) {
tcx.sess.span_fatal(ast_ty.span, "illegal recursive type. \
insert a enum in the cycle, \
insert an enum in the cycle, \
if this is desired)");
}
none { /* go on */ }