@@ -161,8 +161,8 @@ pub fn bound_region_to_str(cx: ctxt,
161161 }
162162
163163 match br {
164- BrNamed ( _, ident ) => format ! ( "{}'{}{}" , prefix,
165- token:: get_name( ident ) , space_str) ,
164+ BrNamed ( _, name ) => format ! ( "{}'{}{}" , prefix,
165+ token:: get_name( name ) , space_str) ,
166166 BrAnon ( _) => prefix. to_str ( ) ,
167167 BrFresh ( _) => prefix. to_str ( ) ,
168168 }
@@ -224,7 +224,7 @@ pub fn region_to_str(cx: ctxt, prefix: &str, space: bool, region: Region) -> ~st
224224 // `explain_region()` or `note_and_explain_region()`.
225225 match region {
226226 ty:: ReScope ( _) => prefix. to_str ( ) ,
227- ty:: ReEarlyBound ( _, _, ident ) => token:: get_name ( ident ) . get ( ) . to_str ( ) ,
227+ ty:: ReEarlyBound ( _, _, name ) => token:: get_name ( name ) . get ( ) . to_str ( ) ,
228228 ty:: ReLateBound ( _, br) => bound_region_to_str ( cx, prefix, space, br) ,
229229 ty:: ReFree ( ref fr) => bound_region_to_str ( cx, prefix, space, fr. bound_region ) ,
230230 ty:: ReInfer ( ReSkolemized ( _, br) ) => {
@@ -720,9 +720,9 @@ impl Repr for ty::BoundRegion {
720720 fn repr ( & self , tcx : ctxt ) -> ~str {
721721 match * self {
722722 ty:: BrAnon ( id) => format ! ( "BrAnon({})" , id) ,
723- ty:: BrNamed ( id, ident ) => format ! ( "BrNamed({}, {})" ,
724- id. repr( tcx) ,
725- token:: get_name( ident ) ) ,
723+ ty:: BrNamed ( id, name ) => format ! ( "BrNamed({}, {})" ,
724+ id. repr( tcx) ,
725+ token:: get_name( name ) ) ,
726726 ty:: BrFresh ( id) => format ! ( "BrFresh({})" , id) ,
727727 }
728728 }
@@ -731,9 +731,9 @@ impl Repr for ty::BoundRegion {
731731impl Repr for ty:: Region {
732732 fn repr ( & self , tcx : ctxt ) -> ~str {
733733 match * self {
734- ty:: ReEarlyBound ( id, index, ident ) => {
734+ ty:: ReEarlyBound ( id, index, name ) => {
735735 format ! ( "ReEarlyBound({}, {}, {})" ,
736- id, index, token:: get_name( ident ) )
736+ id, index, token:: get_name( name ) )
737737 }
738738
739739 ty:: ReLateBound ( binder_id, ref bound_region) => {
0 commit comments