@@ -230,7 +230,7 @@ fn constrain_bindings_in_pat(pat: @ast::pat, rcx: @mut Rcx) {
230230}
231231
232232fn visit_expr ( expr : @ast:: expr , ( rcx, v) : ( @mut Rcx , rvt ) ) {
233- debug ! ( "regionck::visit_expr(e=%s)" , rcx . fcx . expr_to_str ( expr ) ) ;
233+ debug ! ( "regionck::visit_expr(e=?)" ) ;
234234
235235 let has_method_map = rcx. fcx . inh . method_map . contains_key ( & expr. id ) ;
236236
@@ -520,8 +520,7 @@ fn constrain_derefs(rcx: @mut Rcx,
520520 let tcx = rcx. fcx . tcx ( ) ;
521521 let r_deref_expr = ty:: re_scope ( deref_expr. id ) ;
522522 for uint:: range( 0 , derefs) |i| {
523- debug ! ( "constrain_derefs(deref_expr=%s, derefd_ty=%s, derefs=%?/%?" ,
524- rcx. fcx. expr_to_str( deref_expr) ,
523+ debug ! ( "constrain_derefs(deref_expr=?, derefd_ty=%s, derefs=%?/%?" ,
525524 rcx. fcx. infcx( ) . ty_to_str( derefd_ty) ,
526525 i, derefs) ;
527526
@@ -576,8 +575,7 @@ fn constrain_index(rcx: @mut Rcx,
576575
577576 let tcx = rcx. fcx . tcx ( ) ;
578577
579- debug ! ( "constrain_index(index_expr=%s, indexed_ty=%s" ,
580- rcx. fcx. expr_to_str( index_expr) ,
578+ debug ! ( "constrain_index(index_expr=?, indexed_ty=%s" ,
581579 rcx. fcx. infcx( ) . ty_to_str( indexed_ty) ) ;
582580
583581 let r_index_expr = ty:: re_scope ( index_expr. id ) ;
@@ -808,7 +806,7 @@ pub mod guarantor {
808806 * to the lifetime of its guarantor (if any).
809807 */
810808
811- debug ! ( "guarantor::for_addr_of(base=%s)" , rcx . fcx . expr_to_str ( base ) ) ;
809+ debug ! ( "guarantor::for_addr_of(base=?)" ) ;
812810
813811 let guarantor = guarantor ( rcx, base) ;
814812 link ( rcx, expr. span , expr. id , guarantor) ;
@@ -842,8 +840,7 @@ pub mod guarantor {
842840 * region pointers.
843841 */
844842
845- debug ! ( "guarantor::for_autoref(expr=%s, autoref=%?)" ,
846- rcx. fcx. expr_to_str( expr) , autoref) ;
843+ debug ! ( "guarantor::for_autoref(autoref=%?)" , autoref) ;
847844
848845 let mut expr_ct = categorize_unadjusted ( rcx, expr) ;
849846 debug ! ( " unadjusted cat=%?" , expr_ct. cat) ;
@@ -970,7 +967,7 @@ pub mod guarantor {
970967 * `&expr`).
971968 */
972969
973- debug ! ( "guarantor(expr=%s)" , rcx . fcx . expr_to_str ( expr ) ) ;
970+ debug!( "guarantor( ) " ) ;
974971 match expr. node {
975972 ast:: expr_unary( _, ast:: deref, b) => {
976973 let cat = categorize ( rcx, b) ;
@@ -1034,7 +1031,7 @@ pub mod guarantor {
10341031 }
10351032
10361033 fn categorize ( rcx : @mut Rcx , expr : @ast:: expr ) -> ExprCategorization {
1037- debug!( "categorize( expr=%s ) " , rcx . fcx . expr_to_str ( expr ) ) ;
1034+ debug ! ( "categorize()" ) ;
10381035
10391036 let mut expr_ct = categorize_unadjusted ( rcx, expr) ;
10401037 debug ! ( "before adjustments, cat=%?" , expr_ct. cat) ;
@@ -1086,7 +1083,7 @@ pub mod guarantor {
10861083 fn categorize_unadjusted ( rcx : @mut Rcx ,
10871084 expr : @ast:: expr )
10881085 -> ExprCategorizationType {
1089- debug ! ( "categorize_unadjusted(expr=%s)" , rcx . fcx . expr_to_str ( expr ) ) ;
1086+ debug ! ( "categorize_unadjusted()" ) ;
10901087
10911088 let guarantor = {
10921089 if rcx. fcx . inh . method_map . contains_key ( & expr. id ) {
0 commit comments