Fix build after rebase
This commit is contained in:
parent
d2827aa9bc
commit
56f355c83a
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue