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 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> { 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) }) }