Skip to content

Commit 56f355c

Browse files
committed
Fix build after rebase
1 parent d2827aa commit 56f355c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ impl<'tcx> Lvalue<'tcx> {
888888
self.elem(ProjectionElem::Deref)
889889
}
890890

891-
pub fn downcast(self, adt_def: AdtDef<'tcx>, variant_index: usize) -> Lvalue<'tcx> {
891+
pub fn downcast(self, adt_def: &'tcx AdtDef, variant_index: usize) -> Lvalue<'tcx> {
892892
self.elem(ProjectionElem::Downcast(adt_def, variant_index))
893893
}
894894

0 commit comments

Comments
 (0)