@@ -901,10 +901,10 @@ pub enum StatementKind<'tcx> {
901901 SetDiscriminant { lvalue : Lvalue < ' tcx > , variant_index : usize } ,
902902
903903 /// Start a live range for the storage of the local.
904- StorageLive ( Lvalue < ' tcx > ) ,
904+ StorageLive ( Local ) ,
905905
906906 /// End the current live range for the storage of the local.
907- StorageDead ( Lvalue < ' tcx > ) ,
907+ StorageDead ( Local ) ,
908908
909909 /// Execute a piece of inline Assembly.
910910 InlineAsm {
@@ -1701,8 +1701,8 @@ impl<'tcx> TypeFoldable<'tcx> for Statement<'tcx> {
17011701 lvalue : lvalue. fold_with ( folder) ,
17021702 variant_index,
17031703 } ,
1704- StorageLive ( ref lval ) => StorageLive ( lval . fold_with ( folder) ) ,
1705- StorageDead ( ref lval ) => StorageDead ( lval . fold_with ( folder) ) ,
1704+ StorageLive ( ref local ) => StorageLive ( local . fold_with ( folder) ) ,
1705+ StorageDead ( ref local ) => StorageDead ( local . fold_with ( folder) ) ,
17061706 InlineAsm { ref asm, ref outputs, ref inputs } => InlineAsm {
17071707 asm : asm. clone ( ) ,
17081708 outputs : outputs. fold_with ( folder) ,
@@ -1732,9 +1732,9 @@ impl<'tcx> TypeFoldable<'tcx> for Statement<'tcx> {
17321732
17331733 match self . kind {
17341734 Assign ( ref lval, ref rval) => { lval. visit_with ( visitor) || rval. visit_with ( visitor) }
1735- SetDiscriminant { ref lvalue, .. } |
1736- StorageLive ( ref lvalue ) |
1737- StorageDead ( ref lvalue ) => lvalue . visit_with ( visitor) ,
1735+ SetDiscriminant { ref lvalue, .. } => lvalue . visit_with ( visitor ) ,
1736+ StorageLive ( ref local ) |
1737+ StorageDead ( ref local ) => local . visit_with ( visitor) ,
17381738 InlineAsm { ref outputs, ref inputs, .. } =>
17391739 outputs. visit_with ( visitor) || inputs. visit_with ( visitor) ,
17401740
0 commit comments