rustc_codegen_llvm: deny(unused_lifetimes)
.
This commit is contained in:
parent
fff08cb043
commit
87b6b86468
6 changed files with 11 additions and 13 deletions
|
@ -1228,9 +1228,7 @@ impl Builder<'a, 'll, 'tcx> {
|
|||
ret.expect("LLVM does not have support for catchret")
|
||||
}
|
||||
|
||||
fn check_store<'b>(&mut self,
|
||||
val: &'ll Value,
|
||||
ptr: &'ll Value) -> &'ll Value {
|
||||
fn check_store(&mut self, val: &'ll Value, ptr: &'ll Value) -> &'ll Value {
|
||||
let dest_ptr_ty = self.cx.val_ty(ptr);
|
||||
let stored_ty = self.cx.val_ty(val);
|
||||
let stored_ptr_ty = self.cx.type_ptr_to(stored_ty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue