@@ -1112,7 +1112,7 @@ pub enum TerminatorKind<'tcx> {
11121112 Unreachable ,
11131113
11141114 /// Drop the `Place`.
1115- Drop { location : Place < ' tcx > , target : BasicBlock , unwind : Option < BasicBlock > } ,
1115+ Drop { place : Place < ' tcx > , target : BasicBlock , unwind : Option < BasicBlock > } ,
11161116
11171117 /// Drop the `Place` and assign the new value over it. This ensures
11181118 /// that the assignment to `P` occurs *even if* the destructor for
@@ -1141,7 +1141,7 @@ pub enum TerminatorKind<'tcx> {
11411141 /// }
11421142 /// ```
11431143 DropAndReplace {
1144- location : Place < ' tcx > ,
1144+ place : Place < ' tcx > ,
11451145 value : Operand < ' tcx > ,
11461146 target : BasicBlock ,
11471147 unwind : Option < BasicBlock > ,
@@ -1607,9 +1607,9 @@ impl<'tcx> TerminatorKind<'tcx> {
16071607 Abort => write ! ( fmt, "abort" ) ,
16081608 Yield { value, resume_arg, .. } => write ! ( fmt, "{:?} = yield({:?})" , resume_arg, value) ,
16091609 Unreachable => write ! ( fmt, "unreachable" ) ,
1610- Drop { location , .. } => write ! ( fmt, "drop({:?})" , location ) ,
1611- DropAndReplace { location , value, .. } => {
1612- write ! ( fmt, "replace({:?} <- {:?})" , location , value)
1610+ Drop { place , .. } => write ! ( fmt, "drop({:?})" , place ) ,
1611+ DropAndReplace { place , value, .. } => {
1612+ write ! ( fmt, "replace({:?} <- {:?})" , place , value)
16131613 }
16141614 Call { func, args, destination, .. } => {
16151615 if let Some ( ( destination, _) ) = destination {
0 commit comments