Skip to content

Commit 63cf1dc

Browse files
committed
---
yaml --- r: 3999 b: refs/heads/master c: 61ee22d h: refs/heads/master i: 3997: 8cbb957 3995: 9b824f8 3991: 593a42c 3983: 55a213b 3967: a59c27b v: v3
1 parent 8670cfc commit 63cf1dc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 9334fb44594cc714c2c62359de400d2dc30a2c95
2+
refs/heads/master: 61ee22dc84c889433454d0e056d1addab9e5fd54

trunk/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)