Rustup to rustc 1.32.0-nightly (4a45578bc 2018-12-07)
This commit is contained in:
parent
108baa65da
commit
2cff2d3328
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue