Skip to content

Commit 61ee22d

Browse files
committed
Wrapping long strings.
1 parent 9334fb4 commit 61ee22d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/comp/middle/typeck.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ fn structurally_resolved_type(&@fn_ctxt fcx, &span sp, ty::t typ) -> ty::t {
216216
case (fix_ok(?typ_s)) { ret typ_s; }
217217
case (fix_err(_)) {
218218
fcx.ccx.tcx.sess.span_fatal(sp,
219-
"the type of this value must be " +
220-
"known in this context");
219+
"the type of this value must be \
220+
known in this context");
221221
}
222222
}
223223
}
@@ -247,9 +247,9 @@ fn ast_ty_to_ty(&ty::ctxt tcx, &ty_getter getter, &@ast::ty ast_ty) -> ty::t {
247247
case (some[option::t[ty::t]](some[ty::t](?ty))) { ret ty; }
248248
case (some[option::t[ty::t]](none)) {
249249
tcx.sess.span_fatal(ast_ty.span,
250-
"illegal recursive type " +
251-
"(insert a tag in the cycle, " +
252-
"if this is desired)");
250+
"illegal recursive type \
251+
insert a tag in the cycle, \
252+
if this is desired)");
253253
}
254254
case (none[option::t[ty::t]]) { }
255255
} /* go on */
@@ -280,8 +280,8 @@ fn ast_ty_to_ty(&ty::ctxt tcx, &ty_getter getter, &@ast::ty ast_ty) -> ty::t {
280280
if (ivec::len(param_bindings) !=
281281
ty::count_ty_params(tcx, params_opt_and_ty._1)) {
282282
tcx.sess.span_fatal(sp,
283-
"Wrong number of type arguments for a" +
284-
" polymorphic tag");
283+
"Wrong number of type arguments for a \
284+
polymorphic tag");
285285
}
286286
auto typ =
287287
ty::substitute_type_params(tcx, param_bindings,

0 commit comments

Comments
 (0)