mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
remove a TODO that has been fixed in the previous commit
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user