remove a TODO that has been fixed in the previous commit

This commit is contained in:
Oliver Schneider
2016-11-18 10:39:00 +01:00
parent 986b3a07c2
commit e361b63fa0
-1
View File
@@ -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)
})
}