@@ -496,13 +496,11 @@ pub enum ProjectionElem<'tcx, V> {
496
496
497
497
/// Alias for projections as they appear in lvalues, where the base is an lvalue
498
498
/// 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 > > ;
501
500
502
501
/// Alias for projections as they appear in lvalues, where the base is an lvalue
503
502
/// 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 > > ;
506
504
507
505
/// Index into the list of fields found in a `VariantDef`
508
506
#[ derive( Copy , Clone , Debug , PartialEq , Eq , Hash , RustcEncodable , RustcDecodable ) ]
@@ -546,11 +544,11 @@ impl<'tcx> Debug for Lvalue<'tcx> {
546
544
547
545
match * self {
548
546
Var ( id) =>
549
- write ! ( fmt, "var{:?}" , id) ,
547
+ write ! ( fmt, "var{:?}" , id) ,
550
548
Arg ( id) =>
551
- write ! ( fmt, "arg{:?}" , id) ,
549
+ write ! ( fmt, "arg{:?}" , id) ,
552
550
Temp ( id) =>
553
- write ! ( fmt, "tmp{:?}" , id) ,
551
+ write ! ( fmt, "tmp{:?}" , id) ,
554
552
Static ( def_id) =>
555
553
write ! ( fmt, "{}" , ty:: tls:: with( |tcx| tcx. item_path_str( def_id) ) ) ,
556
554
ReturnPointer =>
0 commit comments