From 2cff2d3328af56413d6a84d32629db73b7e005c4 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sat, 8 Dec 2018 10:48:35 +0100 Subject: [PATCH] Rustup to rustc 1.32.0-nightly (4a45578bc 2018-12-07) --- src/main_shim.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_shim.rs b/src/main_shim.rs index 5b61ef24cf2..aec03838ce9 100644 --- a/src/main_shim.rs +++ b/src/main_shim.rs @@ -11,7 +11,7 @@ pub fn maybe_create_entry_wrapper<'a, 'tcx: 'a>( let (main_def_id, use_start_lang_item) = match *tcx.sess.entry_fn.borrow() { Some((id, _, entry_ty)) => ( - tcx.hir.local_def_id(id), + tcx.hir().local_def_id(id), match entry_ty { EntryFnType::Main => true, EntryFnType::Start => false,