@@ -496,13 +496,11 @@ pub enum ProjectionElem<'tcx, V> {
496496
497497/// Alias for projections as they appear in lvalues, where the base is an lvalue
498498/// and the index is an operand.
499- pub type LvalueProjection < ' tcx > =
500- Projection < ' tcx , Lvalue < ' tcx > , Operand < ' tcx > > ;
499+ pub type LvalueProjection < ' tcx > = Projection < ' tcx , Lvalue < ' tcx > , Operand < ' tcx > > ;
501500
502501/// Alias for projections as they appear in lvalues, where the base is an lvalue
503502/// and the index is an operand.
504- pub type LvalueElem < ' tcx > =
505- ProjectionElem < ' tcx , Operand < ' tcx > > ;
503+ pub type LvalueElem < ' tcx > = ProjectionElem < ' tcx , Operand < ' tcx > > ;
506504
507505/// Index into the list of fields found in a `VariantDef`
508506#[ derive( Copy , Clone , Debug , PartialEq , Eq , Hash , RustcEncodable , RustcDecodable ) ]
@@ -546,11 +544,11 @@ impl<'tcx> Debug for Lvalue<'tcx> {
546544
547545 match * self {
548546 Var ( id) =>
549- write ! ( fmt, "var{:?}" , id) ,
547+ write ! ( fmt, "var{:?}" , id) ,
550548 Arg ( id) =>
551- write ! ( fmt, "arg{:?}" , id) ,
549+ write ! ( fmt, "arg{:?}" , id) ,
552550 Temp ( id) =>
553- write ! ( fmt, "tmp{:?}" , id) ,
551+ write ! ( fmt, "tmp{:?}" , id) ,
554552 Static ( def_id) =>
555553 write ! ( fmt, "{}" , ty:: tls:: with( |tcx| tcx. item_path_str( def_id) ) ) ,
556554 ReturnPointer =>
0 commit comments