From e0e50a4b74c4e52e696cfe2608c3ed54a18e411f Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Thu, 26 May 2016 03:38:17 +0300 Subject: [PATCH] Fix nit/Refine the datum construction --- src/librustc_trans/base.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/librustc_trans/base.rs b/src/librustc_trans/base.rs index f190015d024..ddfa08516e5 100644 --- a/src/librustc_trans/base.rs +++ b/src/librustc_trans/base.rs @@ -1683,10 +1683,8 @@ impl<'blk, 'tcx> FunctionContext<'blk, 'tcx> { // And coerce the temporary into the type we expect. b.pointercast(lltemp, arg.memory_ty(bcx.ccx()).ptr_to()) }; - - // FIXME: hacky lol? datum::Datum::new(lltmp, arg_ty, - datum::Lvalue::new("datum::lvalue_scratch_datum")) + datum::Lvalue::new("bind_args")) } } else { // FIXME(pcwalton): Reduce the amount of code bloat this is responsible for.