Fix hl-modules too

master
Glenn Watson 2014-11-20 18:40:48 +10:00
parent 4b0b992d11
commit b7804af18e
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ pub fn expand_lua_module(ecx: &mut base::ExtCtxt, span: codemap::Span,
let mut table = lua.load_new_table();
));
function_body.push_all_move(module_handler_body);
function_body.extend(module_handler_body.into_iter());
function_body.push(quote_stmt!(ecx,
::std::mem::forget(table);