@@ -264,7 +264,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
264264 }
265265
266266 PassMode :: Direct ( _) | PassMode :: Pair ( ..) => {
267- let op = self . codegen_consume ( & mut bx, & mir:: Place :: return_place ( ) . as_ref ( ) ) ;
267+ let op = self . codegen_consume ( & mut bx, mir:: Place :: return_place ( ) . as_ref ( ) ) ;
268268 if let Ref ( llval, _, align) = op. val {
269269 bx. load ( llval, align)
270270 } else {
@@ -319,7 +319,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
319319 return ;
320320 }
321321
322- let place = self . codegen_place ( & mut bx, & location. as_ref ( ) ) ;
322+ let place = self . codegen_place ( & mut bx, location. as_ref ( ) ) ;
323323 let ( args1, args2) ;
324324 let mut args = if let Some ( llextra) = place. llextra {
325325 args2 = [ place. llval , llextra] ;
@@ -1111,7 +1111,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
11111111 } else {
11121112 self . codegen_place (
11131113 bx,
1114- & mir:: PlaceRef { local : & dest. local , projection : & dest. projection } ,
1114+ mir:: PlaceRef { local : & dest. local , projection : & dest. projection } ,
11151115 )
11161116 } ;
11171117 if fn_ret. is_indirect ( ) {
@@ -1137,7 +1137,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
11371137 LocalRef :: Place ( place) => self . codegen_transmute_into ( bx, src, place) ,
11381138 LocalRef :: UnsizedPlace ( _) => bug ! ( "transmute must not involve unsized locals" ) ,
11391139 LocalRef :: Operand ( None ) => {
1140- let dst_layout = bx. layout_of ( self . monomorphized_place_ty ( & dst. as_ref ( ) ) ) ;
1140+ let dst_layout = bx. layout_of ( self . monomorphized_place_ty ( dst. as_ref ( ) ) ) ;
11411141 assert ! ( !dst_layout. ty. has_erasable_regions( ) ) ;
11421142 let place = PlaceRef :: alloca ( bx, dst_layout) ;
11431143 place. storage_live ( bx) ;
@@ -1151,7 +1151,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
11511151 }
11521152 }
11531153 } else {
1154- let dst = self . codegen_place ( bx, & dst. as_ref ( ) ) ;
1154+ let dst = self . codegen_place ( bx, dst. as_ref ( ) ) ;
11551155 self . codegen_transmute_into ( bx, src, dst) ;
11561156 }
11571157 }
0 commit comments