Fix build after rebase

This commit is contained in:
Andrew Cann 2016-12-03 12:56:20 +08:00
parent d2827aa9bc
commit 56f355c83a

View File

@ -888,7 +888,7 @@ impl<'tcx> Lvalue<'tcx> {
self.elem(ProjectionElem::Deref)
}
pub fn downcast(self, adt_def: AdtDef<'tcx>, variant_index: usize) -> Lvalue<'tcx> {
pub fn downcast(self, adt_def: &'tcx AdtDef, variant_index: usize) -> Lvalue<'tcx> {
self.elem(ProjectionElem::Downcast(adt_def, variant_index))
}