about summary refs log tree commit diff
path: root/src/allocator.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2018-11-07 13:31:02 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2018-11-07 13:31:02 +0100
commitb73bda1c3f845680a4e0da40b5b6519c2ba4845b (patch)
tree5b619ceb6a54c46b4e9f7d1376927ad209b7e7aa /src/allocator.rs
parent648f491977546945afa31587390041d3fdb17c61 (diff)
downloadrust-b73bda1c3f845680a4e0da40b5b6519c2ba4845b.tar.gz
rust-b73bda1c3f845680a4e0da40b5b6519c2ba4845b.zip
Fix warnings
Diffstat (limited to 'src/allocator.rs')
-rw-r--r--src/allocator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocator.rs b/src/allocator.rs
index 72f1046a56b..d1bff9ac524 100644
--- a/src/allocator.rs
+++ b/src/allocator.rs
@@ -13,7 +13,7 @@ use crate::prelude::*;
 use rustc::middle::allocator::AllocatorKind;
 use rustc_allocator::{ALLOCATOR_METHODS, AllocatorTy};
 
-pub fn codegen(tcx: TyCtxt, module: &mut Module<impl Backend + 'static>, kind: AllocatorKind) {
+pub fn codegen(module: &mut Module<impl Backend + 'static>, kind: AllocatorKind) {
     let usize_ty = module.target_config().pointer_type();
 
     for method in ALLOCATOR_METHODS {