We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b9b67 commit 5039f8bCopy full SHA for 5039f8b
src/tools/miri/src/machine.rs
@@ -372,10 +372,8 @@ pub struct PrimitiveLayouts<'tcx> {
372
impl<'mir, 'tcx: 'mir> PrimitiveLayouts<'tcx> {
373
fn new(layout_cx: LayoutCx<'tcx, TyCtxt<'tcx>>) -> Result<Self, &'tcx LayoutError<'tcx>> {
374
let tcx = layout_cx.tcx;
375
- let mut_raw_ptr =
376
- Ty::new_mut_ptr(tcx, tcx.types.unit);
377
- let const_raw_ptr =
378
- Ty::new_imm_ptr(tcx, tcx.types.unit);
+ let mut_raw_ptr = Ty::new_mut_ptr(tcx, tcx.types.unit);
+ let const_raw_ptr = Ty::new_imm_ptr(tcx, tcx.types.unit);
379
Ok(Self {
380
unit: layout_cx.layout_of(Ty::new_unit(tcx))?,
381
i8: layout_cx.layout_of(tcx.types.i8)?,
0 commit comments