]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_llvm/glue.rs
rustc_codegen_llvm: use safe references for Type.
[rust.git] / src / librustc_codegen_llvm / glue.rs
index c7275d094018567f7221192ea2cec1c20ecaf7a7..992ff9f24de1347d5415dcd7faa6e0c83dd9ae02 100644 (file)
@@ -23,7 +23,7 @@
 use rustc::ty::{self, Ty};
 use value::Value;
 
-pub fn size_and_align_of_dst<'a, 'tcx>(bx: &Builder<'a, 'tcx>, t: Ty<'tcx>, info: ValueRef)
+pub fn size_and_align_of_dst(bx: &Builder<'a, 'll, 'tcx>, t: Ty<'tcx>, info: ValueRef)
                                        -> (ValueRef, ValueRef) {
     debug!("calculate size of DST: {}; with lost info: {:?}",
            t, Value(info));