Use () for entry_fn.
This commit is contained in:
parent
601453a2ac
commit
829a9d33a9
13 changed files with 19 additions and 27 deletions
|
@ -322,7 +322,7 @@ fn collect_roots(tcx: TyCtxt<'_>, mode: MonoItemCollectionMode) -> Vec<MonoItem<
|
|||
let mut roots = Vec::new();
|
||||
|
||||
{
|
||||
let entry_fn = tcx.entry_fn(LOCAL_CRATE);
|
||||
let entry_fn = tcx.entry_fn(());
|
||||
|
||||
debug!("collect_roots: entry_fn = {:?}", entry_fn);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue