Remove useless binding.

This commit is contained in:
Scott Olson 2016-11-26 23:37:38 -08:00
parent f7cd07a615
commit 0929201d60

View File

@ -282,8 +282,7 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
pub fn monomorphize(&self, ty: Ty<'tcx>, substs: &'tcx Substs<'tcx>) -> Ty<'tcx> {
let substituted = ty.subst(self.tcx, substs);
let new = self.tcx.normalize_associated_type(&substituted);
new
self.tcx.normalize_associated_type(&substituted)
}
fn type_size(&self, ty: Ty<'tcx>) -> EvalResult<'tcx, Option<u64>> {