diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2018-11-07 13:31:02 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2018-11-07 13:31:02 +0100 |
| commit | b73bda1c3f845680a4e0da40b5b6519c2ba4845b (patch) | |
| tree | 5b619ceb6a54c46b4e9f7d1376927ad209b7e7aa /src/allocator.rs | |
| parent | 648f491977546945afa31587390041d3fdb17c61 (diff) | |
| download | rust-b73bda1c3f845680a4e0da40b5b6519c2ba4845b.tar.gz rust-b73bda1c3f845680a4e0da40b5b6519c2ba4845b.zip | |
Fix warnings
Diffstat (limited to 'src/allocator.rs')
| -rw-r--r-- | src/allocator.rs | 2 |
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 { |
