From 61ee22dc84c889433454d0e056d1addab9e5fd54 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Tue, 19 Jul 2011 12:23:17 -0700 Subject: [PATCH] Wrapping long strings. --- src/comp/middle/typeck.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/comp/middle/typeck.rs b/src/comp/middle/typeck.rs index 3424fd61333..2b12bb82193 100644 --- a/src/comp/middle/typeck.rs +++ b/src/comp/middle/typeck.rs @@ -216,8 +216,8 @@ fn structurally_resolved_type(&@fn_ctxt fcx, &span sp, ty::t typ) -> ty::t { case (fix_ok(?typ_s)) { ret typ_s; } case (fix_err(_)) { fcx.ccx.tcx.sess.span_fatal(sp, - "the type of this value must be " + - "known in this context"); + "the type of this value must be \ + known in this context"); } } } @@ -247,9 +247,9 @@ fn ast_ty_to_ty(&ty::ctxt tcx, &ty_getter getter, &@ast::ty ast_ty) -> ty::t { case (some[option::t[ty::t]](some[ty::t](?ty))) { ret ty; } case (some[option::t[ty::t]](none)) { tcx.sess.span_fatal(ast_ty.span, - "illegal recursive type " + - "(insert a tag in the cycle, " + - "if this is desired)"); + "illegal recursive type \ + insert a tag in the cycle, \ + if this is desired)"); } case (none[option::t[ty::t]]) { } } /* go on */ @@ -280,8 +280,8 @@ fn ast_ty_to_ty(&ty::ctxt tcx, &ty_getter getter, &@ast::ty ast_ty) -> ty::t { if (ivec::len(param_bindings) != ty::count_ty_params(tcx, params_opt_and_ty._1)) { tcx.sess.span_fatal(sp, - "Wrong number of type arguments for a" + - " polymorphic tag"); + "Wrong number of type arguments for a \ + polymorphic tag"); } auto typ = ty::substitute_type_params(tcx, param_bindings,