File tree 1 file changed +2
-2
lines changed
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> {
381
381
}
382
382
383
383
impl < ' 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 > > {
385
385
let tcx = layout_cx. tcx ;
386
386
let mut_raw_ptr = Ty :: new_mut_ptr ( tcx, tcx. types . unit ) ;
387
387
let const_raw_ptr = Ty :: new_imm_ptr ( tcx, tcx. types . unit ) ;
@@ -596,7 +596,7 @@ pub struct MiriMachine<'tcx> {
596
596
}
597
597
598
598
impl < ' 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 {
600
600
let tcx = layout_cx. tcx ;
601
601
let local_crates = helpers:: get_local_crates ( tcx) ;
602
602
let layouts =
You can’t perform that action at this time.
0 commit comments