File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ pub struct PrimitiveLayouts<'tcx> {
381381}
382382
383383impl < ' tcx > PrimitiveLayouts < ' tcx > {
384- fn new ( layout_cx : LayoutCx < ' tcx , TyCtxt < ' tcx > > ) -> Result < Self , & ' tcx LayoutError < ' tcx > > {
384+ fn new ( layout_cx : LayoutCx < ' tcx > ) -> Result < Self , & ' tcx LayoutError < ' tcx > > {
385385 let tcx = layout_cx. tcx ;
386386 let mut_raw_ptr = Ty :: new_mut_ptr ( tcx, tcx. types . unit ) ;
387387 let const_raw_ptr = Ty :: new_imm_ptr ( tcx, tcx. types . unit ) ;
@@ -596,7 +596,7 @@ pub struct MiriMachine<'tcx> {
596596}
597597
598598impl < ' tcx > MiriMachine < ' tcx > {
599- pub ( crate ) fn new ( config : & MiriConfig , layout_cx : LayoutCx < ' tcx , TyCtxt < ' tcx > > ) -> Self {
599+ pub ( crate ) fn new ( config : & MiriConfig , layout_cx : LayoutCx < ' tcx > ) -> Self {
600600 let tcx = layout_cx. tcx ;
601601 let local_crates = helpers:: get_local_crates ( tcx) ;
602602 let layouts =
You can’t perform that action at this time.
0 commit comments