rollup merge of #18407 : thestinger/arena

This commit is contained in:
Alex Crichton 2014-10-30 08:57:30 -07:00
commit 5ee8569889
2 changed files with 8 additions and 8 deletions

View file

@ -715,7 +715,7 @@ impl<'a, 'tcx> ConstraintContext<'a, 'tcx> {
}
_ => {
self.terms_cx.arena.alloc(|| TransformTerm(v1, v2))
&*self.terms_cx.arena.alloc(|| TransformTerm(v1, v2))
}
}
}