diff --git a/src/interpreter/mod.rs b/src/interpreter/mod.rs index ca443472156f..d61ba4ee3f71 100644 --- a/src/interpreter/mod.rs +++ b/src/interpreter/mod.rs @@ -322,7 +322,6 @@ fn type_layout_with_substs(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> E let ty = self.monomorphize(ty, substs); self.tcx.infer_ctxt(None, None, Reveal::All).enter(|infcx| { - // TODO(solson): Report this error properly. ty.layout(&infcx).map_err(EvalError::Layout) }) }