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
No known key found for this signature in database
GPG Key ID: 56D6EEA0FC67AC46

View File

@ -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)
})
}