@@ -383,7 +383,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
383383 ( bx, OperandRef { val, layout : cast } )
384384 }
385385
386- mir:: Rvalue :: Ref ( _, bk, ref place) => {
386+ mir:: Rvalue :: Ref ( _, bk, place) => {
387387 let mk_ref = move |tcx : TyCtxt < ' tcx > , ty : Ty < ' tcx > | {
388388 tcx. mk_ref (
389389 tcx. lifetimes . re_erased ,
@@ -393,7 +393,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
393393 self . codegen_place_to_pointer ( bx, place, mk_ref)
394394 }
395395
396- mir:: Rvalue :: AddressOf ( mutability, ref place) => {
396+ mir:: Rvalue :: AddressOf ( mutability, place) => {
397397 let mk_ptr = move |tcx : TyCtxt < ' tcx > , ty : Ty < ' tcx > | {
398398 tcx. mk_ptr ( ty:: TypeAndMut { ty, mutbl : mutability } )
399399 } ;
@@ -557,7 +557,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
557557 fn codegen_place_to_pointer (
558558 & mut self ,
559559 mut bx : Bx ,
560- place : & mir:: Place < ' tcx > ,
560+ place : mir:: Place < ' tcx > ,
561561 mk_ptr_ty : impl FnOnce ( TyCtxt < ' tcx > , Ty < ' tcx > ) -> Ty < ' tcx > ,
562562 ) -> ( Bx , OperandRef < ' tcx , Bx :: Value > ) {
563563 let cg_place = self . codegen_place ( & mut bx, place. as_ref ( ) ) ;
0 commit comments