diff options
| author | Andrew Cann <shum@canndrew.org> | 2016-12-03 12:56:20 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2017-01-03 15:48:29 +0800 |
| commit | 56f355c83a29a366b3a2cd30922e695f3ba62a71 (patch) | |
| tree | a4eb2799b4861406fe196ac5997e2a3ab5267693 /src | |
| parent | d2827aa9bc58383c20d92fc1c5a5003160565884 (diff) | |
| download | rust-56f355c83a29a366b3a2cd30922e695f3ba62a71.tar.gz rust-56f355c83a29a366b3a2cd30922e695f3ba62a71.zip | |
Fix build after rebase
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/mir/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/mod.rs b/src/librustc/mir/mod.rs index f244306a0cf..1d0e95245ea 100644 --- a/src/librustc/mir/mod.rs +++ b/src/librustc/mir/mod.rs @@ -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)) } |
